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


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

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


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

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

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

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


Страницы: Пред. 1 ... 2622 2623 2624 2625 2626 ... 3297 След.
0  
WilliamIRunisp
dark market 2025  darknet drug store
Имя Цитировать 0  
0  
TerenceNoxor
фриспины без депозита за регистрацию с выводом Игровые автоматы с бездепозитным бонусом за регистрацию с выводом
Имя Цитировать 0  
0  
WilliamIRunisp
darkmarket  dark market onion
Имя Цитировать 0  
0  
RabyHaigo
darknet site  dark market onion
Имя Цитировать 0  
0  
Volodyasit
darknet markets url  darknet links
Имя Цитировать 0  
0  
KxyuTyday
dark web market list  dark web markets
Имя Цитировать 0  
0  
KxyuTyday
darknet market list  darknet site
Имя Цитировать 0  
0  
DonDonTyday
darknet websites  darkmarket
Имя Цитировать 0  
0  
FNDavidVag
dark web market list  dark web market urls
Имя Цитировать 0  
0  
PingPap
bitcoin dark web  dark market 2025
Имя Цитировать 0  
0  
ThomasRax
read this post here  
smartwallet
Имя Цитировать 0  
0  
DonDonTyday
darknet websites  dark web market links
Имя Цитировать 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://cannabis.net/user/162435
https://tubeteencam.com/user/whwhhhh1984/profile
https://rentry.org/eu6p2rfk
https://imageevent.com/braas19681957
https://tubeteencam.com/user/ulissa1950/profile
Имя Цитировать 0  
0  
Fang2203
Хочу понять в https://epiczo.com/?p=254 бизнесе. Куда зайти?
Имя Цитировать 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://rentry.org/dnqsmh88
https://cannabis.net/user/163698
https://www.dnnsoftware.com/activity-feed/my-profile/userid/3217188
https://www.metal-archives.com/users/snagit1957
https://www.haikudeck.com/presentations/AHpjXZOUw8
Имя Цитировать 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/flashmod1967/profile
https://imageevent.com/nightvui1973
https://haveagood.holiday/users/357218
https://rentry.org/qhsrm3pk
https://rentry.org/vz2udvdn
Имя Цитировать 0  
0  
TolikItamp
dark market list  darkmarket list
Имя Цитировать 0  
0  
Haroldhog
Top Max Farma: Top Max Farma - top farmacia online
Имя Цитировать 0  
0  
MatthewLic
Где можно посмотреть зарубежные сериалы в хорошем качестве бесплатно? Круги на воде (сериал 2025, Россия) смотреть онлайн все серии подряд бесплатно в хорошем качестве
Имя Цитировать 0  
0  
ThomasRax
read the article wallet smart
Имя Цитировать 0  
0  
WilliamIRrar
dark market url  darknet drugs
Имя Цитировать 0  
0  
KxyuTyday
dark web market urls  darknet marketplace
Имя Цитировать 0  
0  
StacyLah
Имя Цитировать 0  
0  
Pingunisp
dark websites  dark market 2025
Имя Цитировать 0  
0  
Volodyasit
dark markets 2025  dark market 2025
Имя Цитировать 0  
Страницы: Пред. 1 ... 2622 2623 2624 2625 2626 ... 3297 След.
Текст сообщения*
Загрузить файл или картинкуПеретащить с помощью Drag'n'drop
Перетащите файлы
Ничего не найдено
Отправить Отменить
Защита от автоматических сообщений
 
Публикация статей
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />

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