Приднестровская поддержка XOOPS
<{include file=PATH}> or <{includeq file=PATH}>
Used to include a file in theme.html; the difference is that the latter is more efficient
(but less secure).
<{assign var=NAME value=SOME_VALUE}>
Assign a value to a Smarty variable. For example:
<{assign var=theme_name value=$xoTheme->folderName}>
<{assign var=theme_name value=$xoTheme->folderName|cat:'/tpl'}>
Then you could use:
<{includeq file="$theme_name/tpl.html"}>
This would include XOOPS/themes/yourtheme_tpl.html or XOOPS/themes/tpl/yourtheme_tpl.html.
Отправитель | Нити |
---|
17 пользователь(ей) активно (5 пользователь(ей) просматривают Инструкции)
Участников: 0 Гостей: 17 далее... |