Forum Moderators: coopster
How can i convert it to a smarty function and use it in the template ?
Thanks for help
yaz
Then put {$url} in the template content wherever it is you need it.
If you really want to make them template functions, the easiest way is to pick a plugin of the type you want yours to be, open it in your editor, replace the function name & content with yours, and save it as a different name. If you want this one to be a modifier function, for example: