Для добавления нового движка шаблонизации на сайт в файл /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
Начало | Пред. |
123
|
След. |
Конец
free download pinterest for pc windows 7leap office 2000 software free download for windows 7 freedescargar pdf expert gratis mac free downloaddownload windows 10 key activatordelta force 3 pc game free downloadeclipse j2ee download for windows 10 64 bitconstruct 2 download for windows 10windows 10 install from usb flash drive free downloadwindows 10 pro 1803 product key free downloadautodesk revit 2014 32 bit free download free download https://bit.ly/3jVTIAz https://bit.ly/3CyGRg4 https://bit.ly/3jM1I72 https://bit.ly/2VS7JHb https://bit.ly/37udVrp
download skype 64 bit windows 10 picsart for pc download on windows 7 8 computer explorer 7 windows 2000 download free download texas holdem poker for windows 10 amazon download windows 10
free download gta san andreas for windows 10 hp designjet 500 driver windows 10 64 bit free download ethernet driver download windows 10 battlefield 4 pc game download microsoft project professional 2013 product key generator free download download windows 10 for virtual machine free download battlefield 4 full version free for pc windows 7 genuine 7601 download free download windows server 2012 foundation upgrade to r2 free download delta force free download for pc
]download gta san andreas for pc free full game 600mb download microsoft publisher windows vista free qualcomm atheros ar3012 bluetooth elan touchpad driver windows 10 samsung origin download windows 10 64 bit free alienware theme windows 8.1 download free
malware free download windows 10download 100 free vpn for pcdragon ball super game free download for pcevil dead game for pc downloadwindows 7 dvd drivers download freeea cricket 2007 game free download for pcfree download windows media player for windows 10 64 bitdownload counter strike game for pc full version freemicrosoft visual studio 2013 update 4 offline installer free downloadsony vegas pro 11 free download for windows 7 32 bit free download https://bit.ly/3s3h6zK https://bit.ly/3jK6SAi https://bit.ly/3iDdEJ7 https://bit.ly/3CARGON https://bit.ly/3g0M8Dx
]windows server 2012 r2 standard vs standard core free download photo maker software free download for windows 7 free download skype for business 2016 64 bit windows 10 raidcall download windows 10 free hp laserjet 2200 series pcl 5 charles download for windows 10
autocad free download for windows 8.1 free battle war games free download for pc free download itunes for pc windows 10 uc mini download for pc windows 7 asus eee pc seashell series video drivers download windows 7
]viber windows phone free download free qualcomm atheros qca61x4 wireless network adapter driverdownload hay day for pc windows 7asphalt 9 legends free download for pcmicrotek scanmaker i800webex recorder free download for windows 8 free ]windows 10 1903 update stuck free download duke nukem free download windows 10windows 7 upgrade advisor free download freedownload wallpapers for pc windows 10download game pc counter strike 1.6age of empires 1 windows 10 download ]kon boot windows 10 download realtek rtl8811au wireless lan 802.11ac driver windows 10windows live mail update 2012 free download freefree download cooking dash games for pc full versionhp laserjet 600 m602 driverdownload adobe premiere pro free windows 10 ]download game memancing ikan untuk pc gratis acoustica standard edition 6download vpn proxy for pc freefar cry 5 pc game downloaduncharted 4 pc download windows 10hp laserjet 5 driver windows 10 download ]download antivirus windows xp free exam ref 70 697 configuring windows devices pdf download freefree download sm player windows 7 freejdk download for windows 10 64 bit free downloaddownload pool game free pc full versionsteelseries dota 2 m800 keyboard ]farm frenzy 2 pc game download download cool apps for windows xp freewireless g cardhow to merge vob filesangry birds 2 windows 10 downloadbakugan battle brawlers game pc download free
https://bit.ly/3s9hyMT ]eplan electric p8 professional price free download ]dreadout pc game download cooking games offline free download for pcnvidia geforce 8200m gbus driving game free download for pc windows 10eclipse download 32 bit windows 10download windows xp professional service pack 3 free ]windows 7 64 bit activator free download download free cd burner software windows 7 freewindows 7 arabic interface download freedymo label v 8 windows 10 downloaddownload youtube for pc windows 7 freeintelpro 100 ve network connection ]microsoft office word 2016 download free download asphalt 8 pc game free download for windows 10spyder 3 pro windows 10odbc driver download for windows xp freedownload netflix for windows 10 laptopdiablo 3 free download full version pc no survey ]monect pc remote download windows canoscan lide 70 driver download windows 10hp drivers for windows xp free download freeadwcleaner windows 7 64 bits download freekorean keyboard download windows 10 freemicrosoft windows xp professional sp3 iso download free ]cannot uninstall vmware workstation 14 free download call of duty pc full game downloadfoundation pc game downloaddownload dev c++ windows 10 64 bitcanon mg7500 drivervodafone mobile broadband software for windows 8 free download free ]digital tv for pc free download divx player download for windows 10keyboard filter 01windows 8 loader activator free download freedownload game bomberman untuk pc gratisbijoy bayanno for windows 10 free download
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />