Авторизация
Логин:
Пароль:
Забыли свой пароль?
Войти как пользователь:
Войти как пользователь
Вы можете войти на сайт, если вы зарегистрированы на одном из этих сервисов:
Подписка на рассылку
Реклама
1QH.net - Unique Quality Hosting.network
Расскажи о нас


Пользовательские движки шаблонизации

02.10.2009

Для добавления нового движка шаблонизации на сайт в файл /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
Начало | Пред. | 1 2 3 | След. | Конец


Количество показов: 82655201
Рейтинг:  3.3

Возврат к списку

(Голосов: 1, Рейтинг: 3.3)

Материалы по теме:


Страницы: Пред. 1 ... 2341 2342 2343 2344 2345 ... 3876 След.
0  
DonaldRah
dark websites  darknet market links
Имя Цитировать 0  
0  
RabyHaigo
darknet marketplace  dark market url
Имя Цитировать 0  
0  
Pingunisp
Имя Цитировать 0  
0  
Pingunisp
onion dark website  darknet markets onion address
Имя Цитировать 0  
0  
Georgeruisy
Имя Цитировать 0  
0  
DonaldNow
dark market  darkmarket link
Имя Цитировать 0  
0  
RabyVag
dark websites  dark market
Имя Цитировать 0  
0  
RonnieDib
Имя Цитировать 0  
0  
Link - flego
Online casinos have revolutionized the betting market, providing a unique kind of ease and variety that traditional venues can’t match. Recently, a growing community worldwide have adopted the excitement of internet-based gaming in light of its accessibility, exciting features, and continuously increasing selection of games.

If you’re just starting with the world of virtual casino play or are looking to find out more about safe services, why not participate in our growing interactive platform? It’s a destination where enthusiasts exchange insights, guiding you to enhance your virtual play. Explore the connections and visit us now: https://animalpak.ru/poleznye-materialy/chto-takoe-zdorovoe-pitanie/

One of the most compelling reasons of digital gambling sites is the sheer variety of titles on offer. Whether you prefer rolling old-school slots, trying out plot-filled modern slot games, or testing your strategy in strategy-based games like Baccarat, virtual venues boast countless options. Several sites furthermore offer live dealer games, enabling you to engage with human game hosts and gaming peers, all while experiencing the immersive atmosphere of a land-based casino right at home.

In addition to diversity, digital casino services are known for constant connectivity.
Имя Цитировать 0  
0  
DorianUnlah
Имя Цитировать 0  
0  
Download_Saurf
Мобильные игры в последнее время становятся всё более популярными. Каждый день месяца появляются новые проекты, которые удивляют геймеров со всего планеты. В этой статье мы расскажем о новейших событиях из мира мобильных игр и новостях игровой индустрии.
Недавно компания Google анонсировала свежую версию Android, которая внедрила набор улучшений для любителей игр. В частности, теперь поддерживаются новейшие визуализированные параметры, что улучшает игровой процесс ещё качественным.
Одной из самых долгожданных игр 2024 года является новая версия PUBG Mobile. Команда создали массу новых уровней, а также обновили игровой мир и внедрили уникальные возможности.
Интересным новостью стало представление разработки от компании Supercell. Имя разработки пока не объявлено, но источники утверждают, что это будет уникальный стратегия с открытым миром.
Для поклонников мобильных RPG есть отличная новость - в этом месяце выйдет долгожданное дополнение для Clash of Clans. В новой версии команда включили новых героев, а также внедрили новые режимы.
Индустрия мобильных игр постоянно развивается, и каждую неделю нас радуют свежие проекты. Следите за нашей страницей, чтобы быть в курсе о самых актуальных новинках и событиях в мире игр.
Кроме того, не забудьте следить за нашей страницей в https://t.me/s/mods_menu/9, чтобы получать актуальные новости из мира гейминга.
На сегодня это все новости из мира мобильных развлечений. До скорых встреч и приятной игры!

http://WwDr.Ess.Aleoklop.Atarget=%5C%22_Blank%5C%22%20hrefmailto:e@Ehostingpoint.com/info.php?a%5B%5D=%3Ca+href%3Dhttps://androidclan.ru/%3E%D0%B2%D0%B7%D0%BB%D0%BE%D0%BC%D0%B0%D0%BD%D0%BD%D1%8B­%D0%B5+%D0%B8%D0%B3%D1%80%D1%8B+%D0%BD%D0%B0+%D0%B0%D0%BD%D0­%B4%D1%80%D0%BE%D0%B8%D0%B4%3C/a%3E%3Cmeta+http-equiv%3Drefresh+content%3D0;url%3Dhttps://androidclan.ru/+/%3E
https://classifieds.ocala-news.com/author/margaritorm
http://rsfcdhf.hfhjf.hdasgsdfhdshshfsh@forum.annecy-outdoor.com/suivi_forum/?a%5B%5D=%3Ca+href%3Dhttps://Androidplayzone.ru/%3E%D0%B2%D0%B7%D0%BB%D0%BE%D0%BC%D0%B0%D0%BD%D0%BD%D1%8B­%D0%B5+%D0%B8%D0%B3%D1%80%D1%8B+%D0%BD%D0%B0+%D0%B0%D0%BD%D0­%B4%D1%80%D0%BE%D0%B8%D0%B4+%D0%B1%D0%B5%D0%B7+root%3C/a%3E%­3Cmeta+http-equiv%3Drefresh+content%3D0;url%3Dhttps://androidplayzone.ru/+/%3E
http://f.r.A.G.Ra.nc.E.rnmn%40.r.os.p.E.r.les.C@pezedium.free.fr/?a%5B%5D=%3Ca+href%3Dhttps://androidworlds.ru/%3E%D0%BC%D0%BE%D0%B4%D1%8B+%D0%BD%D0%B0+%D0%B8%D0%B3%D1%­80%D1%8B+%D0%B4%D0%BB%D1%8F+%D0%B0%D0%BD%D0%B4%D1%80%D0%BE%D­0%B8%D0%B4%3C/a%3E%3Cmeta+http-equiv%3Drefresh+content%3D0;url%3Dhttps://Androidworlds.ru/+/%3E
http://www.zian100pi.com/discuz/home.php?mod=space&uid=1095918&do=profile&from=space

Обалдеть! Эти новости о видеоиграх удивили всех!
Шокирующие новости! Эти новости о видеоиграх взорвали интернет!
Сенсация! Эти сенса
adca111
Имя Цитировать 0  
0  
Victordax
Their international drug database is unparalleled.
can i order cheap cytotec for sale
Setting global standards in pharmaceutical care.
Имя Цитировать 0  
0  
Victordax
Always up-to-date with international medical advancements.
can you snort gabapentin 300
Offering a global gateway to superior medications.
Имя Цитировать 0  
0  
MarkBot
Как выбрать надёжного застройщика? Читайте проверенные советы https://new-fstore.ru/
Имя Цитировать 0  
0  
Toliksit
darknet websites  darknet market list
Имя Цитировать 0  
0  
Toliksit
onion dark website  dark web sites
Имя Цитировать 0  
0  
Pingunisp
darkmarket  darkmarket 2025
Имя Цитировать 0  
0  
Pingunisp
dark web market  dark market url
Имя Цитировать 0  
0  
QuotexJah
Greetings!
Get started with Quotex and discover the power of trading binary options. This platform offers an intuitive interface and easy access to a variety of digital assets. quotex broker com official website Visit the official Quotex website to learn more about trading opportunities. Download the Quotex app for mobile or desktop to start trading anywhere, anytime. Begin your trading journey with Quotex now.
Quotex offers a smooth and seamless experience for trading binary options and digital assets. Whether you’re new to trading or an expert, you’ll find everything you need to succeed. Visit the official Quotex website to get started. Download the Quotex app and trade on the go. Start trading today and see how Quotex can work for you.
More information at the site - https://www.onthitoeic.vn/quotex-app-download-the-qxbroker-trading-app-125/
quotex signals
Wishing you luck!
Имя Цитировать 0  
0  
WalterTraub
Global expertise with a personalized touch.
https://clomidpharm24.top/
Everything about medicine.
Имя Цитировать 0  
0  
Pingrar
dark web markets  darknet websites
Имя Цитировать 0  
0  
Toliksit
darknet markets  dark web market links
Имя Цитировать 0  
0  
Donaldshevy
darknet marketplace  darknet links
Имя Цитировать 0  
0  
Rabychirl
dark web market urls  darknet market
Имя Цитировать 0  
0  
Social Link - flego
Why Online Casinos Have Become So Popular

Internet-based gambling hubs have transformed the betting industry, providing an unmatched level of comfort and breadth that conventional gambling houses are unable to replicate. Throughout the last ten years, millions of players around the world have embraced the excitement of digital casino play as a result of its availability, appealing qualities, and ever-expanding range of offerings.

If you’re just starting with the world of digital casinos or would like to explore trusted platforms, why not engage with our vibrant interactive platform? It’s a platform where enthusiasts offer insights, guiding you to maximize your gambling adventure. Explore the connections and visit us now: https://t.me/plinko_polska

One of the most compelling reasons of online casinos is the incredible variety of entertainment options ready to play. Whether you are a fan of rolling retro slots, trying out plot-filled visual slot games, or playing smart in card and board games like Texas Hold’em, internet-based gambling sites deliver endless opportunities. Numerous services also offer live dealer games, enabling you to interact with live hosts and opponents, all while immersing yourself in the immersive vibes of a brick-and-mortar establishment right at home.

Social URL: https://t.me/plinko_polska

Adding to the extensive catalog, digital casino services shine accessibility.
Имя Цитировать 0  
Страницы: Пред. 1 ... 2341 2342 2343 2344 2345 ... 3876 След.
Текст сообщения*
Загрузить файл или картинкуПеретащить с помощью Drag'n'drop
Перетащите файлы
Ничего не найдено
Отправить Отменить
Защита от автоматических сообщений
 
Публикация статей
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />

1QH.net - Unique Quality Hosting.network
liqpay webmoney privat24 visa mastercard
2002-2017 © InKey
All rights reserved