Hello, first thank you for your work on Smarty (v5) @wisskid
I have read the documentation, but don't really understand how to add plugins (modifier/function) from v4 to v5.
Something with $smarty->registerPlugin(); but where do I save my plugins? In v4 I have the plugins all in the folder /includes/smarty/plugins/ which I have included with $smarty->addPluginsDir('./includes/smarty/plugins');.
Hello, first thank you for your work on Smarty (v5) @wisskid
I have read the documentation, but don't really understand how to add plugins (modifier/function) from v4 to v5.
Something with
$smarty->registerPlugin();
but where do I save my plugins? In v4 I have the plugins all in the folder/includes/smarty/plugins/
which I have included with$smarty->addPluginsDir('./includes/smarty/plugins');
.But this will soon be deprecated.
Thanks!