Answer the question
In order to leave comments, you need to log in
$APPLICATION->SetPageProperty not working?
The product needs to change the meta. In the file component_epilog.php I write:
$APPLICATION->SetTitle($seoname);
$APPLICATION->SetPageProperty("title", $seoname);
$APPLICATION->SetPageProperty("keywords", $seoname);
$APPLICATION->SetPageProperty("description", $seoname);
but the meta tags are not changed. What can be wrong?
Answer the question
In order to leave comments, you need to log in
Perhaps you are installing meta data below the component.
It is necessary to debug everything that is called below and check from which component / code section the data is set.
This thing works on the principle of deferred functions, i.e. set to the latest value.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question