Plugin for Cotonti CMF. It allow to use tpl TAGs and function calls in menuslots.
Cotonti have a predefined custom tags that admin can use in templates. Content of these tags called «menu slots» can be altered via administration web interface. As a default, menu slots allow to use only simple html text. With this extension you can use common TPL tags and function calls like in TPL files.
Works starting from Cotonti Siena v0.9.11
.
Plugin must works out from the box. But as it relies on CoTemplate->compile()
function it worsk only from Cotonti v0.9.11. Some of lang file strings or resource strings may be undefined in menuslots if they init after global
hook.
Runs on global
hook. And parses all menu slots with CoTemplate->compile()
.
Administration panel → Extensions
)
Thanked: 12 раз
Awesome!!!
Thanked: 11 раз
На 9.12-1 не работает :(
Thanked: 1 раз
На 9.12-1 не работает :(
В строке 22 заменить:
$subvers > 9010
например, на:
$subvers > 901
Thanked: 11 раз
2Wilder, все получилось, спасибо!