Answer the question
In order to leave comments, you need to log in
How to display META TITLE template in title tag?
Hello!
How to display META TITLE template in title tag?
now I have the name of the section displayed$arResult['SECTION']['NAME']
if( $arResult['SECTION']['NAME'])
{
$APPLICATION->SetPageProperty("title", $arResult['SECTION']['NAME']);
}else{
$APPLICATION->SetPageProperty("title", 'Каталог');
}
$APPLICATION->SetTitle($arResult['SECTION']['NAME']);
Answer the question
In order to leave comments, you need to log in
Look in the component settings, most likely you have the "Set page title" checkbox in one, and not in the other.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question