Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Smarty plugin creation - questions

 
Post new topic   Reply to topic    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
Domino
Smarty Rookie


Joined: 27 Jun 2012
Posts: 12

PostPosted: Wed Jun 27, 2012 11:53 am    Post subject: Smarty plugin creation - questions Reply with quote

Hello,

I want to create smarty block function, but I don't know if I did understand everything that I did read in documentation.
My questions:
1. If I use in smarty this code:
Code:

{func aaa='bbb' ccc='ddd'}
<h3>{title}</h3>
<p>{intro}</p>
{/func}

Can returned output be a result from loop with changed smarty tags ( {title},{intro} ) ?

2. Can I use other smarty tags or my other smarty function between my block function tags?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP