Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Custom smarty function

Hi Team,

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.

TIA

Comments

Sign In or Register to comment.