Answer the question
In order to leave comments, you need to log in
How can I add the current page name ({=this.Name}) to the title of the site?
There is a website, its structure is as follows:
$APPLICATION->SetPageProperty("title", "Сайт такой-то | {=this.Name}");
$APPLICATION->SetPageProperty("title", "Сайт такой-то | ".str_replace(['/', 'index.php'], '', $APPLICATION->GetCurPage(true))." ");
Answer the question
In order to leave comments, you need to log in
2 pictures - one with a blue stripe, the other is not
the one with a blue one - the background is in the layer that lies on top and the layer width is gradually increased to 100%
You can do it with pure css on top, make a picture with an alpha channel and holes with holes where the animation will be, and from below we do animation through css so that the background is filled with blue from left to right
{=this.Name}
I want each site to have its own titleGo here:
/bitrix/admin/site_admin.php?lang=ru
add all your sites, in the " Website name " field , specify the value you need, and then using SetTitle or SetPageProperty add this value to the title
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question