Answer the question
In order to leave comments, you need to log in
How to use Bitrix include areas correctly?
Good afternoon, I have a question, there is a phone number in the header of the site and in the footer, we are implementing an included area
<a href="tel:#" class="tel"><?$APPLICATION->IncludeFile(SITE_DIR.'include/telefon.php',array(),array('MODE' => 'text'))?></a>
<a href="tel:#" class="tel">
Answer the question
In order to leave comments, you need to log in
It can be implemented in several ways:
1. Move the entire link to the include area. And we are already making it.
2. We take it to the COption settings (in our module, for example) and pull from them (they are cached
)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question