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.
How to add custom smarty function in a custom theme
bh8vn
✭
I try to create new smarty function like
{profile_name}
but it required to be place in library/vendors/SmartyPlugins so if I upgrade my vanilla I will have to put it there again
I don't want to work with core so how to add a custom smarty function in an custom theme, I tried to create a folder vendors/SmartyPlugins/.. in my themes but it didn't work
0
Answers
I think there is already a thread for this of which I was apart, unfortunately for you I can not find it. I believe the conclusion was that you should just use php.
I was trying to find the thread but no answer for me, can you remember the way you did?