I
I
Ivan Fadeev2018-03-24 17:20:35
1C-Bitrix
Ivan Fadeev, 2018-03-24 17:20:35

Editing a specific Bitrix page?

Guys, how to add text to the catalog page if it is not provided there? but so that it does not appear on the internal pages of this directory? where to look for the file of a specific page and what to write in order to be able to edit the text in the admin panel? well, or just, in which file and how to add text directly so that it is only on this page?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artes, 2018-03-26
@SMSdesign

I would not use IncludeFile
I would enter the text in the description of the infoblock and display it in the template of the required level
Or, if the text is needed only on the main directory and is not needed inside, you can enter it into the static page itself, and somehow

<?if ($APPLICATION->GetCurPage(true) == SITE_DIR."/catalog/index.php"){?> 	  
    Текст для главной
<?}?>

More examples here https://smsdesign.com.ua/blog/bitrix/pokazivati-to...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question