1
Hi,
i have written a function for displaying buttons - this will ease template creation and shorten the template code.
I registered the funtion:
$xoopsTpl->register_function('button', 'templ_button', false,
array('onclick', 'disabled', 'label', 'name'));
In my development environment (the templates are newly parsed after every change) everythink works fine.
But wenn installing the module the following error occurs:
Error [Xoops]: Smarty error: [in db:tokens.html line 18]:
syntax error: unrecognized tag 'button'
(Smarty_Compiler.class.php, line 563) in file
class/smarty/Smarty.class.php line 1084
No buttons are shown - the function button() is not used.
Any ideas?
Ciao,
Christian.