Авторизация
Логин:
Пароль:
Забыли свой пароль?
Войти как пользователь:
Войти как пользователь
Вы можете войти на сайт, если вы зарегистрированы на одном из этих сервисов:
Подписка на рассылку
Реклама
11 лет сервису InKey.Biz.ua - Инвестиционный бизнес под ключ.
Расскажи о нас


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

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 | След. | Конец


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

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

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

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


Страницы: Пред. 1 ... 2382 2383 2384 2385 2386 ... 4612 След.
0  
WalterTraub
I trust them with all my medication needs.
https://clomidpharm24.top/
Pharmacists who are passionate about what they do.
Имя Цитировать 0  
0  
Android_Saurf
Игры на смартфон в последнее время становятся всё более популярными. Каждый день месяца появляются новые игры, которые удивляют геймеров со всего мира. В этой статье мы расскажем о новейших новостях из мира мобильных игр и новостях игровой индустрии.
Недавно компания Samsung объявила новую версию фирменной оболочки, которая принесла множество улучшений для любителей игр. В частности, теперь поддерживаются более высокие визуализированные настройки, что улучшает геймплей ещё приятным.
Одной из самых долгожданных игр 2024 года является перезапуск PUBG Mobile. Команда подготовили массу миссий, а также улучшили игровой мир и включили уникальные функции.
Интересным новостью стало анонс новой игры от компании Tencent. Имя игры пока не разглашается, но источники говорят, что это будет захватывающий стратегия с кооперативным геймплеем.
Для фанатов мобильных RPG есть радостное известие - в ближайшее время выйдет новое дополнение для Rise of Kingdoms. В этом обновлении создатели включили новые здания, а также добавили уникальные механики.
Мир мобильных игр постоянно развивается, и каждую неделю нас радуют свежие проекты. Следите за нашими новостями, чтобы быть в курсе о самых актуальных новинках и событиях в мире игр.
Кроме того, стоит подписаться нашими соцсетями в https://t.me/s/mods_menu/14, чтобы знать самые свежие новинки из мира мобильных развлечений.
На сегодня это все известия из мира игровой индустрии. Увидимся скоро и приятной игры!

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://androidlabs.ru/%3E%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+%D1%81+%D0%B1%D0%B5%D1%81%D0%BF%D­0%BB%D0%B0%D1%82%D0%BD%D1%8B%D0%BC%D0%B8+%D0%BF%D0%BE%D0%BA%­D1%83%D0%BF%D0%BA%D0%B0%D0%BC%D0%B8%3C/a%3E%3Cmeta+http-equiv%3Drefresh+content%3D0;url%3Dhttps://androidlabs.ru/+/%3E
http://https%253a%252F%25evolv.E.L.U.pc@haedongacademy.org/phpinfo.php?a%5B%5D=%3Ca+href%3Dhttps://Androidlabs.ru/%3E%D1%82%D0%BE%D0%BF+10+%D0%B2%D0%B7%D0%BB%D0%BE%D0%BC%D­0%B0%D0%BD%D0%BD%D1%8B%D1%85+%D0%B8%D0%B3%D1%80+%D0%BD%D0%B0­+android%3C/a%3E%3Cmeta+http-equiv%3Drefresh+content%3D0;url%3Dhttps://androidlabs.ru/+/%3E
https://classihub.in/author/rfjbette041/
https://lms.jolt.io/blog/index.php?entryid=551382
http://ndgames.ru/gaid-kak-sdelat-angliiskyu-versiu-lineage-2-revolutuon

Сенсация! Эти игровые новости изменят мир!
Вау! Эти события в мире игр изменят мир!
Сенсация! Эти события в мире игр взорвали интернет!
dca1112
Имя Цитировать 0  
0  
Georgefum
Имя Цитировать 0  
0  
MichaelBow
Имя Цитировать 0  
0  
Danielacarp
“You get some of me but not tomorrow as they want me in as soon as I can make it happen. This is the one time when they say jump and I ask how high due the financial gains the company could benefit from and it being important enough for the client to appear in person.”

“Well I get an extra night of you at least! I wonder what we could do with that? Meantime, what about food? I am starving and delicious as it was a second breakfast is not quite enough to replenish me!”

“Well get something on and we’ll sort that out first.”

We drove into town and decided that a daytime visit to Charlie’s was going to be the answer. I parked in the bar lot and Elise dashed in to change into something more appropriate, jeans and a t-shirt along with her biker jacket but keeping her Converses on.

Walking down to the restaurant was different from the middle of the night visits as the streets were bustling and all of the shops and outlets were open.

Reaching Charlie’s we entered the front door and sat in a booth near the window. A beautiful young American Chinese girl came,smiled and said hello to Elise and gave us menus and asked if we wanted drinks in the meantime.

"No thanks Lin just a pot of Jasmine tea for us please." Lin went back to the kitchen area. “No booze for me today as I will have to work in the bar so it is just tea for me.”

Not in a drinking mood either, I agreed with her."

https://anotepad.com/notes/drcxwipx
https://rentry.org/cdd5eu2c
https://www.haikudeck.com/presentations/fAG53pRHwX
https://imageevent.com/voronixa1984
https://haveagood.holiday/users/359959
Имя Цитировать 0  
0  
Danielacarp
“You get some of me but not tomorrow as they want me in as soon as I can make it happen. This is the one time when they say jump and I ask how high due the financial gains the company could benefit from and it being important enough for the client to appear in person.”

“Well I get an extra night of you at least! I wonder what we could do with that? Meantime, what about food? I am starving and delicious as it was a second breakfast is not quite enough to replenish me!”

“Well get something on and we’ll sort that out first.”

We drove into town and decided that a daytime visit to Charlie’s was going to be the answer. I parked in the bar lot and Elise dashed in to change into something more appropriate, jeans and a t-shirt along with her biker jacket but keeping her Converses on.

Walking down to the restaurant was different from the middle of the night visits as the streets were bustling and all of the shops and outlets were open.

Reaching Charlie’s we entered the front door and sat in a booth near the window. A beautiful young American Chinese girl came,smiled and said hello to Elise and gave us menus and asked if we wanted drinks in the meantime.

"No thanks Lin just a pot of Jasmine tea for us please." Lin went back to the kitchen area. “No booze for me today as I will have to work in the bar so it is just tea for me.”

Not in a drinking mood either, I agreed with her."

https://www.hentai-foundry.com/user/joeseph1976/profile
https://onedio.ru/profile/apostol-661992196-0
https://cannabis.net/user/161187
https://haveagood.holiday/users/352847
https://tubeteencam.com/user/sodistka1972/profile
Имя Цитировать 0  
0  
MarkJulge
Как выбрать надёжного застройщика? Полезные статьи и советы — https://texnotect.ru/
Имя Цитировать 0  
0  
Danielacarp
“You get some of me but not tomorrow as they want me in as soon as I can make it happen. This is the one time when they say jump and I ask how high due the financial gains the company could benefit from and it being important enough for the client to appear in person.”

“Well I get an extra night of you at least! I wonder what we could do with that? Meantime, what about food? I am starving and delicious as it was a second breakfast is not quite enough to replenish me!”

“Well get something on and we’ll sort that out first.”

We drove into town and decided that a daytime visit to Charlie’s was going to be the answer. I parked in the bar lot and Elise dashed in to change into something more appropriate, jeans and a t-shirt along with her biker jacket but keeping her Converses on.

Walking down to the restaurant was different from the middle of the night visits as the streets were bustling and all of the shops and outlets were open.

Reaching Charlie’s we entered the front door and sat in a booth near the window. A beautiful young American Chinese girl came,smiled and said hello to Elise and gave us menus and asked if we wanted drinks in the meantime.

"No thanks Lin just a pot of Jasmine tea for us please." Lin went back to the kitchen area. “No booze for me today as I will have to work in the bar so it is just tea for me.”

Not in a drinking mood either, I agreed with her."

https://distrofik1982.diary.ru/
https://rentry.org/s5hcu88y
https://foxtrot1985.diary.ru/
https://onedio.ru/profile/warbounty-197-1
https://haveagood.holiday/users/373523
Имя Цитировать 0  
0  
Danielgaf
“You get some of me but not tomorrow as they want me in as soon as I can make it happen. This is the one time when they say jump and I ask how high due the financial gains the company could benefit from and it being important enough for the client to appear in person.”

“Well I get an extra night of you at least! I wonder what we could do with that? Meantime, what about food? I am starving and delicious as it was a second breakfast is not quite enough to replenish me!”

“Well get something on and we’ll sort that out first.”

We drove into town and decided that a daytime visit to Charlie’s was going to be the answer. I parked in the bar lot and Elise dashed in to change into something more appropriate, jeans and a t-shirt along with her biker jacket but keeping her Converses on.

Walking down to the restaurant was different from the middle of the night visits as the streets were bustling and all of the shops and outlets were open.

Reaching Charlie’s we entered the front door and sat in a booth near the window. A beautiful young American Chinese girl came,smiled and said hello to Elise and gave us menus and asked if we wanted drinks in the meantime.

"No thanks Lin just a pot of Jasmine tea for us please." Lin went back to the kitchen area. “No booze for me today as I will have to work in the bar so it is just tea for me.”

Not in a drinking mood either, I agreed with her."

https://anotepad.com/notes/awpe5fh4
https://www.hentai-foundry.com/user/rud0081959/profile
https://rentry.org/rhwtdcrk
http://www.babelcube.com/user/andre-johnson
https://haveagood.holiday/users/372349
Имя Цитировать 0  
0  
DonDonTyday
dark market  dark market
Имя Цитировать 0  
0  
Danielgaf
“You get some of me but not tomorrow as they want me in as soon as I can make it happen. This is the one time when they say jump and I ask how high due the financial gains the company could benefit from and it being important enough for the client to appear in person.”

“Well I get an extra night of you at least! I wonder what we could do with that? Meantime, what about food? I am starving and delicious as it was a second breakfast is not quite enough to replenish me!”

“Well get something on and we’ll sort that out first.”

We drove into town and decided that a daytime visit to Charlie’s was going to be the answer. I parked in the bar lot and Elise dashed in to change into something more appropriate, jeans and a t-shirt along with her biker jacket but keeping her Converses on.

Walking down to the restaurant was different from the middle of the night visits as the streets were bustling and all of the shops and outlets were open.

Reaching Charlie’s we entered the front door and sat in a booth near the window. A beautiful young American Chinese girl came,smiled and said hello to Elise and gave us menus and asked if we wanted drinks in the meantime.

"No thanks Lin just a pot of Jasmine tea for us please." Lin went back to the kitchen area. “No booze for me today as I will have to work in the bar so it is just tea for me.”

Not in a drinking mood either, I agreed with her."

https://anotepad.com/notes/rqrb575x
https://okwave.jp/profile/u3143050.html
https://anotepad.com/notes/k5d93dxj
https://rentry.org/qxazf9rp
https://rentry.org/coboth54
Имя Цитировать 0  
0  
Danielgaf
“You get some of me but not tomorrow as they want me in as soon as I can make it happen. This is the one time when they say jump and I ask how high due the financial gains the company could benefit from and it being important enough for the client to appear in person.”

“Well I get an extra night of you at least! I wonder what we could do with that? Meantime, what about food? I am starving and delicious as it was a second breakfast is not quite enough to replenish me!”

“Well get something on and we’ll sort that out first.”

We drove into town and decided that a daytime visit to Charlie’s was going to be the answer. I parked in the bar lot and Elise dashed in to change into something more appropriate, jeans and a t-shirt along with her biker jacket but keeping her Converses on.

Walking down to the restaurant was different from the middle of the night visits as the streets were bustling and all of the shops and outlets were open.

Reaching Charlie’s we entered the front door and sat in a booth near the window. A beautiful young American Chinese girl came,smiled and said hello to Elise and gave us menus and asked if we wanted drinks in the meantime.

"No thanks Lin just a pot of Jasmine tea for us please." Lin went back to the kitchen area. “No booze for me today as I will have to work in the bar so it is just tea for me.”

Not in a drinking mood either, I agreed with her."

https://anotepad.com/notes/hcwbnd7g
https://rentry.org/orrsrakz
https://www.metal-archives.com/users/kanych1956
https://tubeteencam.com/user/gellor1970/profile
https://okwave.jp/profile/u3121474.html
Имя Цитировать 0  
0  
Pingunisp
dark websites  darknet drug store
Имя Цитировать 0  
0  
DonDonTyday
dark web markets  onion dark website
Имя Цитировать 0  
0  
Pingunisp
darknet market links  darknet drug market
Имя Цитировать 0  
0  
MichaelBow
Имя Цитировать 0  
0  
Georgeeduri
Имя Цитировать 0  
0  
MarkVar
Новостройки или вторичка? Полезные статьи и советы — https://texnotect.ru/
Имя Цитировать 0  
0  
DonaldRah
Имя Цитировать 0  
0  
DonaldRah
darknet websites  darknet drug market
Имя Цитировать 0  
0  
RabyHaigo
dark web markets  darkmarket 2025
Имя Цитировать 0  
0  
RabyHaigo
darknet marketplace  dark web markets
Имя Цитировать 0  
0  
Pingrar
dark market link  dark market 2025
Имя Цитировать 0  
0  
DonDonpen
darknet drug market  dark web market links
Имя Цитировать 0  
0  
Victorcot
Their commitment to global excellence is unwavering.
cymbalta or gabapentin for fibromyalgia
Comprehensive side effect and adverse reaction information.
Имя Цитировать 0  
Страницы: Пред. 1 ... 2382 2383 2384 2385 2386 ... 4612 След.
Текст сообщения*
Загрузить файл или картинкуПеретащить с помощью Drag'n'drop
Перетащите файлы
Ничего не найдено
Отправить Отменить
Защита от автоматических сообщений
 
Публикация статей
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />

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