Answer the question
In order to leave comments, you need to log in
How is the field in bitrix in the table b_iblock_section filled in the SEARCHABLE_CONTENT field crookedly?
Hello developer! Please tell me, while I’m still dealing with SMS bitrix, I fill the table with a script via CIBlockSection->Add (array) in bitrix, so the SEARCHABLE_CONTENT field is filled somehow by itself and crookedly, for example
, it is possible to correctly fill in some records it is filled in how to do it correctly until you figure it out?
And in the manual there is a description that you can create a Custom UF_XXX property, for example, I create it in an array
$arFields = [
"IBLOCK_ID" => 2,
"NAME" => $category['name'],
"PICTURE" => $filePicture ? $filePicture : '',
"DESCRIPTION" => $category['name'],
"DESCRIPTION_TYPE" => 'html',
"MODIFIED_BY" => 1,
'CODE'=> rus2translit($category['name']),
'CREATED_BY' => 1,
'SEARCHABLE_CONTENT' => $category['name'],
<b> 'UF_FULL_DONOR_SLUG' => $category['full_slug'],</b>
];
Answer the question
In order to leave comments, you need to log in
"Carnival nbnHЪSh Carnival nbnHЪSh" - either you have some problems with the encoding, or the mbstring is configured incorrectly. Run the server check through the Bitrix admin panel (Settings - Tools - System check, "Start testing" button) and check the item "UTF settings (mbstring and BX_UTF constant)"
The UF_XXX custom field must first be created in the admin panel, preferably in the section editing form
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question