Авторизация
Логин:
Пароль:
Забыли свой пароль?
Войти как пользователь:
Войти как пользователь
Вы можете войти на сайт, если вы зарегистрированы на одном из этих сервисов:
Подписка на рассылку
Реклама
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 | След. | Конец


Количество показов: 45871859

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

(Нет голосов)

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


Страницы: Пред. 1 ... 242 243 244 245 246 ... 267 След.
0  
DwightCally
Get info now. Overdose effects detailed.
buy erection pills
Pill facts provided. Medication leaflet provided.
Имя Цитировать 0  
0  
DanielRaw
“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://rentry.org/6yx2rpsg
https://www.dnnsoftware.com/activity-feed/my-profile/userid/3205480
https://haveagood.holiday/users/367467
https://www.haikudeck.com/presentations/l6WvgTi6ol
https://www.metal-archives.com/users/sunderin1952
Имя Цитировать 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://okwave.jp/profile/u3130687.html
https://www.haikudeck.com/presentations/OJAJy11rmX
https://okwave.jp/profile/u3142394.html
https://imageevent.com/rnjuty1974
https://rentry.org/qrrsoq3d
Имя Цитировать 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."

http://www.nfomedia.com/profile?uid=rOjWbkH
https://rentry.org/xa5a3idq
https://www.metal-archives.com/users/damash1963
https://www.obesityhelp.com/members/freedog1969/about_me/
https://www.haikudeck.com/presentations/ft3YyaA6Wf
Имя Цитировать 0  
0  
Jamesneero
Имя Цитировать 0  
0  
Dwightcealo
Latest pill news. Medication guide here.
ed pills
Comprehensive pill overview. Complete medicine overview.
Имя Цитировать 0  
0  
Robertobjew
Имя Цитировать 0  
0  
Robertobjew
Имя Цитировать 0  
0  
Robertobjew
Имя Цитировать 0  
0  
DennisFoelm
rybpharm: buy rybelsus - buy rybelsus canada
Имя Цитировать 0  
0  
KevinBag
Услуги дренажа по Ступинскому району Работаем без выходных.https://drenaj-mos.ru/
Имя Цитировать 0  
0  
Jamesneero
Имя Цитировать 0  
0  
Robertobjew
Имя Цитировать 0  
0  
RobertNon
Имя Цитировать 0  
0  
DennisFoelm
cheapest Kamagra Kam Pharm: buy kamagra oral jelly Kam Pharm - cheapest Kamagra Kam Pharm
Имя Цитировать 0  
0  
Jamesref
Имя Цитировать 0  
0  
k8casinohef
鉄拳3rd
シンフォギア3 期待度
友人と一緒にプレイすることで、楽しさが倍増します。共に喜ぶ瞬間が嬉しい。

P地獄少女 四
https://www.k8casinoofficial.jp/slots/id318.html
音楽とサウンドエフェクトが素晴らしく、ゲームに没入できます。特にボーナス時の音が最高。

政宗
スイートボナンザ
CR絶狼
戦国BASARA3
CR暗黒騎士呀鎧伝
Имя Цитировать 0  
0  
k8casinohef
P刀使ノ巫女 Ver.199
北斗之拳 轉生之章
音楽と演出が楽しく、プレイ中に笑顔になれます。リラックスできます。

銀と金2
https://www.k8.markets/Articles/1638.html
シンプルなルールで、初心者でもすぐに楽しめます。気軽に挑戦できます。

L 主役は銭形 4
k8 カジノ パチンコ
パチスロ ガールズ&パンツァー
大工の源さん桜満開!源 DREAM ver.~
ミリオンゴッド神々の凱旋
Имя Цитировать 0  
0  
MarvinKig
additional reading Buy Instagram Followers
Имя Цитировать 0  
0  
JamesSlefe
Имя Цитировать 0  
0  
RodneyMor
Услуги откачки септиков по Подольскому району от 750р. за 1 куб. Шланги до 100м. Работаем без выходных.
Оказываем услуги по ремонту ЛОС на территории Москвы и Московской области подробнее.
редоставляем в длительную арендубио туалеты с доставкой и дальнейшим обслуживанием по всей Московской области. подробнее.
Имя Цитировать 0  
0  
DanielRaw
“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/fozi1983/profile
https://anotepad.com/notes/6ghwmdi3
https://www.haikudeck.com/presentations/Q1NNQyNZbt
https://www.haikudeck.com/presentations/32px4sCOKJ
https://tubeteencam.com/user/bruder1975/profile
Имя Цитировать 0  
0  
DanielRaw
?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."

http://www.nfomedia.com/profile?uid=rOjWcgI
http://www.nfomedia.com/profile?uid=rOjShhH
https://cannabis.net/user/156505
https://rentry.org/u5gydgot
https://kexifz1950.bandcamp.com/album/the-dream-7
Имя Цитировать 0  
0  
BrianShugs
Дом без первоначального взнос - Купить участок в Лотошино, Кадастровый участок
Имя Цитировать 0  
0  
Robertobjew
Имя Цитировать 0  
Страницы: Пред. 1 ... 242 243 244 245 246 ... 267 След.
Текст сообщения*
Загрузить файл или картинкуПеретащить с помощью Drag'n'drop
Перетащите файлы
Ничего не найдено
Отправить Отменить
Защита от автоматических сообщений
 
Публикация статей
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />

liqpay webmoney privat24 visa mastercard
2002-2017 © InKey
All rights reserved