By
sylvie
on 03/12/08 13:40 EDT
I have the plugin, but I want to put it in a smarty template
I want to use this plugin in a template
Here is a quick hack
You want to use the plugin submit in a templates
Create a file lib/smarty_tiki/block.wikipluginsubmit.php with the above php code
function smarty_block_wikipluginsubmit($params, $content, &$smarty){
include_once('lib/wiki-plugins/wikiplugin_submit.php');
return wikiplugin_submit($content, $params);
}
and insert in the template such a code
{wikipluginsubmit text=y}{/wikipluginsubmit}