Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Comment mettre en place une boucle While avec Twig
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Corentin Baudoux  
View profile   Translate to Translated (View Original)
 More options May 14 2012, 3:34 pm
From: Corentin Baudoux <c...@pragmacom.eu>
Date: Mon, 14 May 2012 21:34:30 +0200
Local: Mon, May 14 2012 3:34 pm
Subject: Comment mettre en place une boucle While avec Twig
Bonsoir tous,

Je me demande comment faire pour mettre en place une boucle While dans
un template Twig.

Bien vous,

ps: Mon anglais tant plus que nul je ne vous fais pas l'affront
d' crire dans la langue de Shakespeare.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ludovic Doucet  
View profile   Translate to Translated (View Original)
 More options May 15 2012, 4:39 am
From: Ludovic Doucet <lou...@gmail.com>
Date: Tue, 15 May 2012 01:39:55 -0700 (PDT)
Local: Tues, May 15 2012 4:39 am
Subject: Re: Comment mettre en place une boucle While avec Twig

Regarde  http://twig.sensiolabs.org/doc/tags/for.html

Le lundi 14 mai 2012 21:34:30 UTC+2, Corentin Baudoux a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anthony  
View profile   Translate to Translated (View Original)
 More options May 15 2012, 11:13 am
From: Anthony <a.serve...@technotraffic.com>
Date: Tue, 15 May 2012 08:13:25 -0700 (PDT)
Local: Tues, May 15 2012 11:13 am
Subject: Re: Comment mettre en place une boucle While avec Twig
Salut,

Si tu peux lire la langue de Shakespeare:
http://twig.sensiolabs.org/doc/templates.html#control-structure


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lhassan Baazzi  
View profile   Translate to Translated (View Original)
 More options May 15 2012, 12:02 pm
From: Lhassan Baazzi <baazzilhas...@gmail.com>
Date: Tue, 15 May 2012 09:02:58 -0700 (PDT)
Local: Tues, May 15 2012 12:02 pm
Subject: Re: Comment mettre en place une boucle While avec Twig

Salut,

voila une manière de faire un *while *mais avec *for *et *if*:

<ul>    {% for user in users if user.active %}        <li>{{ user.username|e }}</li>    {% endfor %}</ul>


source: http://twig.sensiolabs.org/doc/tags/for.html
Merci.

Le lundi 14 mai 2012 19:34:30 UTC, Corentin Baudoux a écrit :

> Bonsoir � tous,

> Je me demande comment faire pour mettre en place une boucle While dans
> un template Twig.

> Bien � vous,

> ps: Mon anglais �tant plus que nul je ne vous fais pas l'affront
> d'�crire dans la langue de Shakespeare.

Le lundi 14 mai 2012 19:34:30 UTC, Corentin Baudoux a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juan Martín Díaz  
View profile   Translate to Translated (View Original)
 More options May 16 2012, 2:16 pm
From: Juan Martín Díaz <jmdiaz...@gmail.com>
Date: Wed, 16 May 2012 15:16:19 -0300
Local: Wed, May 16 2012 2:16 pm
Subject: Re: [Symfony2] Re: Comment mettre en place une boucle While avec Twig

Pardon mon français mais tú as que combiner une boucle for avec une if dans
la meme ligne.
Il y a quelqu'un example dans là web pour cet propos.
Cherchez pour "twig for with if" dans google.
El 16/05/2012 15:07, "Ludovic Doucet" <lou...@gmail.com> escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juan Martín Díaz  
View profile   Translate to Translated (View Original)
 More options May 16 2012, 4:00 pm
From: Juan Martín Díaz <jmdiaz...@gmail.com>
Date: Wed, 16 May 2012 17:00:48 -0300
Local: Wed, May 16 2012 4:00 pm
Subject: Re: [Symfony2] Comment mettre en place une boucle While avec Twig

Je crois que j'ai lu ce que Lhassan a ècrit dans autre lieu... :)

El miércoles, 16 de mayo de 2012, Juan Martín Díaz escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Corentin Baudoux  
View profile  
 More options May 17 2012, 10:29 am
From: Corentin Baudoux <c...@pragmacom.eu>
Date: Thu, 17 May 2012 16:29:37 +0200
Local: Thurs, May 17 2012 10:29 am
Subject: Re: [Symfony2] Comment mettre en place une boucle While avec Twig

Merci cela fonctionne parfaitement :D


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »