Registering Smarty filters
Posted: Wed Feb 11, 2015 8:02 am
Hi, I want to register a Smarty (pre)filter for my module. For regular Smarty plugins I just call RegisterSmartyPlugin in my module Install method, but this doesn't seem to work for filters.
Where would be the best place to (persistently) register the filter and how should I go about this?
Do note that I do not want to use the main plugins directory as I want to keep my filter with the module.
Where would be the best place to (persistently) register the filter and how should I go about this?
Do note that I do not want to use the main plugins directory as I want to keep my filter with the module.