Answer the question
In order to leave comments, you need to log in
How to find where title is overridden?
Hello.
I can't change the title on the news page.
In component_epilog.php I set the desired title
$APPLICATION->SetPageProperty("title", "То что хочу видеть");
, but the old title is still displayed on the page. bitrix:news
, in detail.php there is also only one component. bitrix:news.detail
$APPLICATION->SetPageProperty("title", "То что хочу видеть");
die();
...
...
),
$component
);
die();
, then my title will be overridden. Answer the question
In order to leave comments, you need to log in
Well so the complex component also redefines.
Surely he has a parameter that disables this behavior - look.
But it's best not to use it. What in general can force to use complex components? Complex components are an evil which must be avoided by all available means.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question