Для добавления нового движка шаблонизации на сайт в файл /bitrix/php_interface/init.php необходимо добавить следующее:
1. Глобальную переменную $arCustomTemplateEngines, которая содержит ассоциативный массив, каждый элемент которого имеет вид:
"код_шаблонизатора" => array(
"templateExt" => array("расширение1"[, "расширение2"...]),
"function" => "имя_функции_подключения_движка"
)
где:
"код_шаблонизатора" - произвольное уникальное в рамках сайта слово;
"расширениеN" - расширение файла, который должен обрабатываться этим движком шаблонизации;
"имя_функции_подключения_движка" - имя функции, которая будет вызываться, если шаблон компонента имеет указанное расширение.
2. Функцию подключения движков:
function имя_функции_подключения_движка($templateFile, $arResult, $arParams, $arLangMessages, $templateFolder, $parentTemplateFolder, $template),
где:
$templateFile – путь к файлу шаблона относительно корня сайта,
$arResult – массив результатов работы компонента,
$arParams – массив входных параметров компонента,
$arLangMessages – массив языковых сообщений (переводов) шаблона,
$templateFolder – путь к папке шаблона относительно корня сайта (если шаблон лежит не в
папке, то эта переменная пуста),
$parentTemplateFolder - путь относительно корня сайта к папке шаблона комплексного
компонента, в составе которого подключается данный компонент (если компонент
подключается самостоятельно, то эта переменная пуста),
$template – объект шаблона.
Рассмотрим подключение движков на конкретных примерах.
Страница
1 - 1 из 3
Начало | Пред. |
123
|
След. |
Конец
На сайте https://smartporog.ru/ посмотрите весь каталог выпадающих порогов умного типа. Они идеально подходят для дверей различного типа. Эти пороги являются автоматическими и считаются оптимальным решением в тех случаях, когда обычные варианты нельзя установить. Важным достоинством порогов такого типа является то, что они надежно блокируют холод, сквозняки, повышают звукоизоляцию. Кроме того, не позволяют неприятным запахам проникать внутрь. Пороги не дают пыли скапливаться. Практичные конструкции позволяют повысить пожаробезопасность.
Casino Bet on Red – Une Immersion Totale dans le Monde des Jeux
Dans l'univers des plateformes interactives de jeux, Bet On Red Casino s'affirme comme une reference incontournable. Que vous soyez un professionnel des paris, casino bet on red offre une interface fluide et intuitive. Ce site ne se limite pas seulement aux jeux traditionnels comme la roulette, mais propose egalement des codes exclusifs.
Les temoignages des membres revelent des experiences authentiques et variees. Les offres promotionnelles permettent aux joueurs de tester leurs strategies sans risquer leurs fonds. En utilisant le code bonus exclusif, ils peuvent obtenir des recompenses financieres, acceder a des fonctionnalites exclusives et beneficier d'avantages speciaux.
Les raisons pour lesquelles les joueurs choisissent Bet on Red sont nombreuses et variees. Cela inclut sa variete des offres. Les joueurs peuvent utiliser le code exclusif pour Bet on Red, qui non seulement renforce leur engagement, но и maximise leurs gains potentiels. Les temoignages des clients mettent en lumiere des elements essentiels : la qualite des outils proposes, les promotions regulieres, et la transparence des transactions financieres. Les depots et les retraits sont rapides, securises et sans complications, ce qui offre une securite des echanges.
Guatemala has pledged a 40% increase in deportation flights carrying Guatemalans and migrants of other nationalities from the United States, President Bernardo Arevalo announced Wednesday during a press conference with US Secretary of State Marco Rubio. kra42 at Guatemala has also agreed to create a task force for border control and protection along the country?s eastern borders. The force, composed of members of the National Police and army, will be tasked with fighting ?all forms of transnational crime,? Arevalo said. ???? ?????? ??? Foreign nationals who arrive in Guatemala through deportation flights will be repatriated to their home countries, Arevalo said, adding that the US and Guatemala would continue to have talks on how the process would work and how the US would cooperate. kra40.cc Arevalo also said that Rubio has voiced his support for developing infrastructure projects in the Central American nation. He added that his government would send a delegation to Washington in the coming weeks to negotiate deals for economic investments in Guatemala ? which he said would incentivize Guatemalans to stay in their home country and not migrate to the US.
Arevalo said Guatemala has not had any discussions about receiving criminals from the US as El Salvador?s president has offered. He also insisted his country has not reached a ?safe third country? agreement with the United States, which would require migrants who pass through Guatemala to apply for asylum there rather than continuing to the US. ?????? ???? ??????? https://kra40cc.com
Guatemala has pledged a 40% increase in deportation flights carrying Guatemalans and migrants of other nationalities from the United States, President Bernardo Arevalo announced Wednesday during a press conference with US Secretary of State Marco Rubio. kra50 cc Guatemala has also agreed to create a task force for border control and protection along the country’s eastern borders. The force, composed of members of the National Police and army, will be tasked with fighting “all forms of transnational crime,” Arevalo said. kra46 cc Foreign nationals who arrive in Guatemala through deportation flights will be repatriated to their home countries, Arevalo said, adding that the US and Guatemala would continue to have talks on how the process would work and how the US would cooperate. kra43 cc Arevalo also said that Rubio has voiced his support for developing infrastructure projects in the Central American nation. He added that his government would send a delegation to Washington in the coming weeks to negotiate deals for economic investments in Guatemala – which he said would incentivize Guatemalans to stay in their home country and not migrate to the US.
Arevalo said Guatemala has not had any discussions about receiving criminals from the US as El Salvador’s president has offered. He also insisted his country has not reached a “safe third country” agreement with the United States, which would require migrants who pass through Guatemala to apply for asylum there rather than continuing to the US. кракен сайт даркнет https://kra-40-cc.ru
Guatemala has pledged a 40% increase in deportation flights carrying Guatemalans and migrants of other nationalities from the United States, President Bernardo Arevalo announced Wednesday during a press conference with US Secretary of State Marco Rubio. кракен сайт купить Guatemala has also agreed to create a task force for border control and protection along the country’s eastern borders. The force, composed of members of the National Police and army, will be tasked with fighting “all forms of transnational crime,” Arevalo said. kra44 at Foreign nationals who arrive in Guatemala through deportation flights will be repatriated to their home countries, Arevalo said, adding that the US and Guatemala would continue to have talks on how the process would work and how the US would cooperate. kra32.at Arevalo also said that Rubio has voiced his support for developing infrastructure projects in the Central American nation. He added that his government would send a delegation to Washington in the coming weeks to negotiate deals for economic investments in Guatemala – which he said would incentivize Guatemalans to stay in their home country and not migrate to the US.
Arevalo said Guatemala has not had any discussions about receiving criminals from the US as El Salvador’s president has offered. He also insisted his country has not reached a “safe third country” agreement with the United States, which would require migrants who pass through Guatemala to apply for asylum there rather than continuing to the US. кракен сайт зеркало рабочее https://kra-35cc.com
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />