Answer the question
In order to leave comments, you need to log in
How to use site template themes in bitrix?
The site template has a themes folder. Question. How to work with her?
For some reason, all articles and even official documentation do not use this folder when creating a template. In general, I can not find anything sensible for this folder on the Internet. Please post an article on this topic. Is it by any chance the subject lines of the template emails?
Answer the question
In order to leave comments, you need to log in
Themes are not connected automatically, if we take for example the standard "main.interface.form" component, then in the component_epilog.php file, themes are connected manually:
<?php
// ...
if($arResult["OPTIONS"]["theme"] <> '')
{
$APPLICATION->SetAdditionalCSS($templateFolder.'/themes/'.$arResult["OPTIONS"]["theme"].'/style.css');
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question