How works smarty tag

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Eza
New Member
New Member
Posts: 9
Joined: Tue Oct 21, 2008 3:19 pm

How works smarty tag

Post 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
Peciura

Re: How works smarty tag

Post by Peciura »

So how can i use smarty tag in other smarty tag.
http://forum.cmsmadesimple.org/index.ph ... 381.0.html
Eza
New Member
New Member
Posts: 9
Joined: Tue Oct 21, 2008 3:19 pm

Re: How works smarty tag

Post by Eza »

Thanks you,

I will read this topic,

Ludovic
Post Reply

Return to “Developers Discussion”