Custom smarty function
I cloned custom theme which needs custom search. The cloned theme only have the default.master.tpl (no default.master.php).
Basically, I want to add custom search in the default.master.tpl & I found from library/SmartyPlugins/function.searchbox.php where if I add another function (ex. function.custom_searchbox.php) in the same directory & call it in default.master.tpl, it works. Now I want to move that new function.custom_searchbox.php in the theme directory & be able to call the custom function in the theme default.master.tpl. Is this possible?
I stumbled upon Gdn_Smarty_init_handler which I could not execute properly. Any hep will be appreciated.