Цитата |
---|
Сергей Гарнов написал: $dbSection = CIBlockSection::GetList(Array(), array("ID" => $arParams["PARENT_SECTION"], "IBLOCK_ID" => $arParams["IBLOCK_ID"], false ,Array("UF_SEO_NAME"); if($arSection = $dbSection->GetNext()){ $arResult["DESCRIPTION"] = $arSection["DESCRIPTION"]; if(!empty($arSection["UF_SEO_NAME"]) $APPLICATION->SetPageProperty("title", $arSection["UF_SEO_NAME"]; } |