Anyone use Smarty v3 {while} Loops?
Anyone use Smarty v3 {while} Loops?
Has anyone used {while} loops in layout templates or module templates? I'm not really sure that it is something I would use, just curious if anyone is using it and if it is helpful to them.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: Anyone use Smarty v3 {while} Loops?
Not yet. But maybe it becomes useful once:

Code: Select all
{while $bill != 'paid'}
{print some random bad words}
{/while}

Re: Anyone use Smarty v3 {while} Loops?
hahavelden wrote:Code: Select all
{while $bill != 'paid'} {print some random bad words} {/while}

"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: Anyone use Smarty v3 {while} Loops?
Thanks!uniqu3 wrote:Yep, see http://forum.cmsmadesimple.org/viewtopi ... 65#p305065
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--