I defined a function pagination in global.tpl and then I included global.tpl in header.tpl and I included the header.tpl in all of my template files, so global.tpl should be include in all of my template files too.
Now when I trying to use {pagination} I got the Unknown tag in result, but when I place the pagination function in each file there is no any problem.
What should I do ?
I should use
{call name=pagination}instance of{pagination}more information : http://www.smarty.net/docs/en/language.function.call.tpl