Page 1 of 1

How works smarty tag

Posted: Tue Oct 12, 2010 8:50 am
by Eza
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

Re: How works smarty tag

Posted: Tue Oct 12, 2010 11:27 am
by Peciura
So how can i use smarty tag in other smarty tag.
http://forum.cmsmadesimple.org/index.ph ... 381.0.html

Re: How works smarty tag

Posted: Tue Oct 12, 2010 12:16 pm
by Eza
Thanks you,

I will read this topic,

Ludovic