A
A
ArrayPop2020-06-23 12:31:15
1C-Bitrix
ArrayPop, 2020-06-23 12:31:15

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

3 answer(s)
I
Ilya, 2020-06-23
@rpsv

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');
}

J
Jupiter Max, 2020-06-23
@vardoLP

what is in that folder?

A
Anton, 2020-06-23
@anton99zel

Themes were conceived as a visual design of components in the public part.
In the component settings there is a theme setting - blue, red, yellow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question