Commit eb72c21b authored by Михаил Ливач's avatar Михаил Ливач

добавил UF_INFOTEXT в выборку, изменил ключи в 'CONTENT'

parent 34e11dad
...@@ -31,6 +31,7 @@ $arSection = CCache::CIblockSection_GetList( ...@@ -31,6 +31,7 @@ $arSection = CCache::CIblockSection_GetList(
'UF_ADVANTAGES', 'UF_ADVANTAGES',
'UF_TITLE_ADVANTAGES', 'UF_TITLE_ADVANTAGES',
'UF_ACTION', 'UF_ACTION',
'UF_INFOTEXT',
), ),
true); true);
...@@ -129,7 +130,7 @@ CScorp::AddMeta( ...@@ -129,7 +130,7 @@ CScorp::AddMeta(
array( array(
'arResult' => $arResult, 'arResult' => $arResult,
'HIDE_BLOCKS' => $arSection["UF_BLOCKS"], 'HIDE_BLOCKS' => $arSection["UF_BLOCKS"],
'CONTENT' => array('TITLE' => $arSection['NAME'], 'TEXT' => $arSection['DESCRIPTION']), 'CONTENT' => array('TITLE' => $arSection['NAME'], 'HIDABLE_TEXT' => $arSection['DESCRIPTION'], 'VISIBLE_TEXT' => $arSection['UF_INFOTEXT']),
'SCHEME' => $arSection['UF_SCHEME'], 'SCHEME' => $arSection['UF_SCHEME'],
'FAQ' => $arSection['UF_FAQ'], 'FAQ' => $arSection['UF_FAQ'],
'TABLE_PRICE' => $arSection['UF_TABLE_PRICE'], 'TABLE_PRICE' => $arSection['UF_TABLE_PRICE'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment