<BOUCLE_champs2(FORMS_CHAMPS){id_form}{par rang}{"</tr>"}>
si je met ca a la place ça va mieux?
(je suis pas sur la machine ou il est installé, je ne pourrais tester que demain.
merci pour votre aide
Message du 10/07/08 à 21h27
De : "Laurent" <laurent.planes@gmail.com>
A : bey.arnaud@voila.fr
Copie à : "spip" <spip@rezo.net>
Objet : Re: [Spip] Boucle de création de tableauSalut
petites corrections de ton code au niveau de la construction du tableau
(html) :<B_reponse>
<table><BOUCLE_reponse(FORMS_DONNEES){id_form=1}>
<B_champs>
<tr>
<BOUCLE_champs(FORMS_CHAMPS){id_form}{par rang}>
<td> #TITRE </td>
</BOUCLE_champs>
</tr>
</B_champs><B_champs2>
<tr>
<BOUCLE_champs2(FORMS_CHAMPS){id_form}{par rang}>
<td> #VALEUR</td>
</BOUCLE_champs2></tr>
</B_champs2></BOUCLE_reponse>
</table>
</B_reponse>Mais là a priori ton tableau va faire deux lignes... Je pense qu'il faut
que tu revois aussi la construction dans tes boucles.Laurent
bey.arnaud@voila.fr a écrit :
>
>
>
>> Message du 10/07/08 à 15h46
>> De : bey.arnaud@voila.fr
>> A : "Martin Granger" <moustiquaire@free.fr>
>> Copie à :
>> Objet : Re: [Spip] Boucle de création de tableau
>>
>>
>> VOila en gros ce que j'avais fait.. mais je doute que cela soit tres bon.
>> ************************************
>> <table>
>> <BOUCLE_reponse(FORMS_DONNEES){id_form=1}>
>>
>> <td>
>> <BOUCLE_champs(FORMS_CHAMPS){id_form}{par rang}>
>> <tr> #TITRE </tr>
>> </BOUCLE_champs>
>> </td>
>>
>> <td>
>> <BOUCLE_champs2(FORMS_CHAMPS){id_form}{par rang}{"</tr>"}>
>> <tr> #VALEUR
>> </BOUCLE_champs2>
>>
>> </tr>
>> </td>
>>
>>
>> </BOUCLE_reponse>
>>
>> </table>
>>
>>
>> ************************************
>>
>>
>>> Message du 10/07/08 à 15h38
>>> De : "Martin Granger" <moustiquaire@free.fr>
>>> A : "spip" <spip@rezo.net>
>>> Copie à :
>>> Objet : Re: [Spip] Boucle de création de tableau
>>>
>>>
>>> bey.arnaud@voila.fr a écrit :
>>>
>>>> j'ai bien essayé mais rien n'y fait
>>>>
>>> Comment tu t'y es pris ? On pourra sans doute te conseiller à partir de
>>> là. Sinon, tu peux trouver des tableaux dans les squelettes du plugin
>>> agenda, mais je n'y comprends pas grand chose pour ma part.
>>> _______________________________________________
>>> liste spip
>>> spip@rezo.net - désabonnement : spip-off@rezo.net
>>>
>>> Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
>>>
>>> Documentation de SPIP : http://www.spip.net/
>>>
>>> irc://irc.freenode.net/spip ou http://embed.mibbit.com/?server=irc.freenode.net&channel=%23spip
>>>
>>>
>>>
>> ____________________________________________________
>>
>> Sur le mail Voila, vous pouvez personnaliser l’anti-spam ! http://mail.voila.fr
>>
>>
>
> ____________________________________________________
>
> Sur le mail Voila, vous pouvez personnaliser l’anti-spam ! http://mail.voila.fr
>
>
> _______________________________________________
> liste spip
> spip@rezo.net - désabonnement : spip-off@rezo.net
>
> Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
>
> Documentation de SPIP : http://www.spip.net/
>
> irc://irc.freenode.net/spip ou http://embed.mibbit.com/?server=irc.freenode.net&channel=%23spip
>
____________________________________________________
Sur le mail Voila, vous pouvez personnaliser l’anti-spam ! http://mail.voila.fr
