How works smarty tag
Posted: Tue Oct 12, 2010 8:50 am
Hi,
My question is about how works cms ms.
I try to use the same syntaxe with smarty becuse i find it realy easy to use.
So how can i use smarty tag in other smarty tag.
I have a example
In my template i have {content} and in my content I add {news}
So I have see i must create plugin in "plugin/function.content.php" and made function "smarty_function_content($params, &$smarty)"
But don't understand how i can do for call smarty in smarty.
I hope i was clear,
Thanks you,
Ludovic
My question is about how works cms ms.
I try to use the same syntaxe with smarty becuse i find it realy easy to use.
So how can i use smarty tag in other smarty tag.
I have a example
In my template i have {content} and in my content I add {news}
So I have see i must create plugin in "plugin/function.content.php" and made function "smarty_function_content($params, &$smarty)"
But don't understand how i can do for call smarty in smarty.
I hope i was clear,
Thanks you,
Ludovic