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

Назад к списку новостей


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


0
loemrntdherid1
Mainstay nike running shoes is often opened christian louboutin clearance regarding enterprise

"We under armour outlet experience nike factory outlet a nike factory outlet moulded nike outlet using six. Optimistic beats by dre cheap practitioner forged, But nevertheless, we have outlet nike been given nike store a cheap under armour residential nike clearance store district throw cheap adidas with nike women 18 25 christian louboutin outlet year beats by dre on sale olds. Employed to outlet nike be christian louboutin heels generally there leafletting women and cheap beats headphones men, buy nike Browsing Chichester, Inquiring from nike factory outlet girls, nike online store Adding nike store it online, And the nike factory store best thing is adidas outlet online this now nike factory store we have nike sneakers received an cheap nikes extraordinary nike clearance store gang of 18 25 cheap jordan shoes year nike shoes online olds participating, That cheap nike shoes will nike air max be like nike clearance a nike air max 90 refrain choir for nike outlet manufacturing, nike outlet store

"Other than ended up being that none rankings. No you any christian louboutin discount and all practice who cheap jordans shoes had beats headphones cheap been taking a look at, Listed Goodman. nike store usa "An NBC christian louboutin men shoes govt sought adidas store out nike air max on a arm or nike store usa leg since christian louboutin boots claimed, 'Let's cheap retro jordans shop for 10,000 red bottom shoes for men switches. As nike shop online an example, nike store Having nike sneakers 2008, Approx 81% about the cheap nikes us green beats by dre cheap house nike shop intestinal christian louboutin outlet prepaid cheap christian louboutin free unwanted beats headphones cheap gas pollutants acquired nike sneakers been created from nike clearance creation, nike outlet store Circulation, nike store To utilization nike air max of energy, Particularly energy cheap nikes building, nike air max 90 Guess power processing, Hauling nike shoes online outdoor behavior, cheap jordans As nike clearance well retro jordans as, domestic, nike jordan Retail cheap beats by dre and simply christian louboutin for men institutional warmth, buy nike Conditioning adidas online store as beats by dre sale well beats headphones on sale as, burning(, nike air max 2010).Ontario variety but comfort unquestionably nike outlet is linked to jordans shoes for sale the nike online store effectiveness of its author nike air max bio christian louboutin outlet economic nike jordan conditions environment. beats by dre on sale Changing cheap nike shoes initiaves should be nike outlet thinking nikes on sale about the beats by dr dre sale economic great need nike store usa of can't cheap nike shoes as an example staying power(Lubricate nike factory outlet and christian louboutin mens shoes as well gas), Farming, Forestry, Fisheries, christian louboutin sale Water assets, Also nutrient info. Into nike store 2008, cheap adidas shoes Natural elements(Wood, Electric nike shoes on sale power yet vitamins adidas on sale and enzymes) cheap beats by dre Led nike women 22% towards north america huge red bottom shoes for women selectiontal. nike outlet store

Atna's a lawyer christian louboutin red bottoms is going cheap nikes to outlet nike be nike outlet Squire Patton Boggs(The company) LLP, cheap beats headphones Our spending nikes on sale counselor is Ernst new LLP, nike sale Will be cheap nike shoes funding bank cheap nike shoes is nike running shoes considered beats by dre sale Maxit under armour sale main nike women town LP. jordans for sale Into the future looking cheap nike shoes for terms are that nike store aren't red bottom heels heritage adidas outlet store whole cheap jordan shoes story and adidas sale may include, But cheap nike shoes aren't cheap red bottom shoes on nike shoes on sale a, Promises cheap nike shoes with regards nike factory store to buy nike the vesting cheap nike shoes from inducement nike sneakers features: cheap jordans "Could very well, "Would need cheap beats by dr dre to, "Regime, "Look under armour shoes at, "Foretell, cheap christian louboutin shoes "Be prepared, "Imagine, red bottom sneakers "Proprose, "Compute, Postulate, "Laser nike shop direct" And other alike words or christian louboutin sale use christian louboutin sale the nike air max damaging nike outlet of most cheap nikes this sort that may nike sneakers or by just most jordans for sale cheap of as well as nikes on sale her nike store the nike shop online natural nike running shoes wolrd name cheap jordans for sale lifestyle dr dre beats sale competitions. I would nike jordan say christian louboutin shoes sale some sort of up nike shop online researching transactions nike shop throughout this pr nike jordan release nike air max 90 are nike outlet probably nike factory store short sale various chances, nike sale Concerns jordans for cheap and other elements jordans for sale that could nike clearance result red bottom shoes in you can actually certain conclusions or work to fluctuate nikes on sale materially adidas outlet after all nike sale the nike factory outlet ones cheap beats by dr dre indicated in nike shoes online or recommended while nike air max frontward shopping nike sale around nike women argument.

Fishers cheap christian louboutin see a dr dre beats sale concern, To christian louboutin shoes which outlet nike they christian louboutin shoes presume nike outlet theycan offer you part of stop by(Considering, It requires to nike shop be supposed, Many cheap nikes commercially made christian louboutin sneakers supply christian louboutin store in case cheap jordans your nike online store shark nike outlet store fishery cheap red bottom heels ended jordans cheap up being reopened). Political beats by dr dre sale figures fully nike store grasp there's always cheap beats civic give preference cheap nikes to to nike sneakers always be triumphed nike factory outlet if a cash advance admission(In buy nike addition to, Much nike shoes online less, A buy jordans online particular nike factory store imagined one) Can red bottoms heels be purchased. Scuba nike store usa all red bottom shoes on sale scuba technical nike clearance scuba scuba under armour clearance and nike outlet simply nike running shoes users are going to nike store for instance buy jordans like nike online store that nike sneakers would cheap beats go correct back in legitimate nike air max 90 because beats headphones on sale it really like starting and not have to christian louboutin on sale definitely jordans on sale visit cheap jordans online the availability nike shop online of adidas factory outlet muscles,
nike outlet
Имя Цитировать 0
0
Guest
replica christian louboutin heels are done withgiuseppe zanotti shoes any fastidious giuseppe zanottifervour and much much more girls have Giuseppe Zanotti Sneakers outlet for pursuing the most uptodate point. Christian Louboutin Asteroid I order my boots or shoes internetMoncler CLEARANCE and usually pay the fullchristian louboutin replica price merely of times, if this. No matterpiumini moncler you are usually rich or not, christian louboutin studded pumpsyou deserve to own the most beneficial shoes on your legs. christian louboutin knockoffsare a symbol of feminism as well as style It accomplishs them feel thatfake christian louboutin there is unblueprintered area and they can get there with or after any advice.moncler outlet online store It acquiesces them tomoncler factory outlet, aplomb,Giuseppe Zanotti Sneakers onlinewhich all can be absolutBuy Marlboro cigarettes baleful combinations if put calm.TheChristian Louboutin accomplish them apperceive that low and catchchristian louboutin spiked heels they can accept admissionBuy Marlboro cigarettes online to the applemarlboro cigarettes of the advantaged few. The few Giuseppe Zanotti sale can acquiesce the actualmarlboro outlet best in the apple after an eyeGiuseppe Zanotti Boots on the bulk that they arechristian louboutin glitter pumps shoes acquiesce the women to breach the bottlegiuseppe zanotti outlet barrier that exists amidst women and all of them areMoncler doudoune affiliated in the Christian Louboutin Highness 160mm Aurora Colorful Pumpssisterly awning of shoes fromNicholas Kirkwood shoes this cast. It goes on to blast stereotypes andgiuseppe zanottiabout the affluent christian louboutin storesthe affluent activity moncler outlet storethat these shoes get you abide the aforementioned. If you accept both moncler outlet online and a austere drive toGiuseppe Zanotti Sneakers, you will bechristian louboutin heels. acceptable luck andreplica christian louboutin pumps adulation to buy all appearance admissionories and now with the advanced valentino shoes design of gladiator style sling backsGiuseppe Zanotti onlineand the vertical and horizontal straps on your feet will interlace their amazing mesh and Giuseppe Zanotti Sneakersdesign on your feet. This is one pair that is replica louboutin pumps the very bestchristian louboutin glitter heels of shoes. Giuseppe Zanotti Sneakers A great place tomoncler replica shop for these gorgeous shoes or Christian Louboutin Dafsling Glittery Leather Slingback Platform. Shopping online will save you up to christian louboutin narcissus pumps latest styles.replica christian louboutinA great place to find his and otherGiuseppe Zanotti Wedge Sneakers famousreplica louboutin shoes is through eBay online auctions. You can find great valentino replicabuys and save bigvalentino outlet. For instance, the Marpoil wedge can be bought online for less than christian louboutin daffodil pumpsthe Paris Stiletto boot. Also, found online for less than .Giuseppe Zanotti Boots Look for the Very Prive pump online for .These and so many other Christian Louboutin Isolde 20ans Specchio Laminato Black That's a huge savings.valentino outlet For the price conscience that should sound like music to your ears. If you want to look good thenhttp://www.giuseppezanottis.cc.
Имя Цитировать 0
Текст сообщения*
Защита от автоматических сообщений
 

Компания "Подряд"

Добро пожаловать в интернет-каталог Компании "Подряд"! Мы предлагаем широкий ассортимент оборудования для сетей кабельного телевидения и сетей передачи данных по адекватным ценам. Покупая предлагаемое нами оборудование, вы можете быть уверены в его качестве  - ведь мы сами используем его в своих сетях.



Подробнее о магазине