Answer the question
In order to leave comments, you need to log in
How to change the template in Bitrix?
I have 2 templates. The main template should work everywhere, and another template for one page. I have set a condition for another template to apply to /main-landing/index.php, but it doesn't apply and it still works the same as the main template. Tell me, please, what is the problem.
<?php require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");?>
<p>CONTENT</p>
<?php require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question