Anyone use Smarty v3 {while} Loops?

General project discussion. NOT for help questions.
Post Reply
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Anyone use Smarty v3 {while} Loops?

Post by JohnnyB »

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.
--
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Anyone use Smarty v3 {while} Loops?

Post by velden »

Not yet. But maybe it becomes useful once:

Code: Select all

{while $bill != 'paid'}
  {print some random bad words}
{/while}
;D
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Anyone use Smarty v3 {while} Loops?

Post by JohnnyB »

velden wrote:

Code: Select all

{while $bill != 'paid'}
  {print some random bad words}
{/while}
haha ;D
"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.
--
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Anyone use Smarty v3 {while} Loops?

Post by JohnnyB »

"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.
--
Post Reply

Return to “General Discussion”