I
I
IliaMal2020-08-07 08:24:02
1C-Bitrix
IliaMal, 2020-08-07 08:24:02

What is called after component_epilog.php in Bitrix components?

Hello.

I can not find where the title page title is redefined.

In the catalog.section component in the component_epilog.php file, I set the title I need:
$APPLICATION->SetPageProperty("title", $myTitle);
But somewhere below it is overridden and gives a different one.
At the end of component_epilog.php I stop the execution of php die();and the correct title is displayed (it means it is redefined below)
I even look. In section.php, after calling catalog.section, I stop php again die();, but the title is no longer correct.
In catalog.section I change my template to default, but the title is still not correct.

Where can an incorrect title be set?

It turns out it is redefined somewhere between

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
v1t3man, 2020-08-07
@v1t3man

component_epilog is called last in the template, the title can be set on the page after this component is called, or if there is more than one component on the page, check all component_epilog components in turn.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question