Answer the question
In order to leave comments, you need to log in
How to change the template of one page in Bitrix?
Hello... the essence of the question is this... there are several template pages... they all have the same template, but with different content.. and on one of these template pages you need to add a new block and component... then there are several directories and only one of them needs to be changed.. how to do it?
Answer the question
In order to leave comments, you need to log in
/bitrix/templates/TEMPLATE NAME/components/bitrix/....
Look for your template along this path, most likely in the catalog.section folder, but it’s different for everyone, who created how))
Next, you need to find the template file in the component template. php
put in it
if (CSite::InDir('/papka/')){
?>ваш контент<?
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question