|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Domino Smarty Rookie
Joined: 27 Jun 2012 Posts: 12
|
Posted: Wed Jun 27, 2012 11:53 am Post subject: Smarty plugin creation - questions |
|
|
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 |
|
|
|
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
|