Boucle d'affichage du nombre d'articles ayant un certain mot-clé

Bonjour,

Je voudrais afficher le nombre d'articles ayant le mot-clé nouveaute.

La boucle suivante ne fonctionne pas...

<Boucle_1><Boucle1(ARTICLES){titre_mot=nouveaute}></Boucle1>#TOTAL_BOUCLE articles avec ce mot-clé</Boucle_1>

Qqun de sympa pourrait-il me la corriger SVP ?

Un grand merci d'avance !

Euh, ca ne te renvoie même pas le #TOTAl_BOUCLE ?

-----Message d'origine-----
De : Regis [mailto:reggiu@gmail.com]
Envoyé : lundi 2 novembre 2009 10:52
À : spip@rezo.net
Objet : [Spip] Boucle d'affichage du nombre d'articles ayant un certain
mot-clé

Bonjour,

Je voudrais afficher le nombre d'articles ayant le mot-clé nouveaute.

La boucle suivante ne fonctionne pas...

<Boucle_1><Boucle1(ARTICLES){titre_mot=nouveaute}></Boucle1>#TOTAL_BOUCLE
articles avec ce mot-clé</Boucle_1>

Qqun de sympa pourrait-il me la corriger SVP ?

Un grand merci d'avance !

_______________________________________________
liste spip
spip@rezo.net - désabonnement : envoyer un mail à spip-off@rezo.net

Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
http://archives.rezo.net/spip.mbox/

Documentation de SPIP : http://www.spip.net/

Irc : de l'aide à toute heure : http://spip.net/irc

Non selon l'endroit où je met #TOTAl_BOUCLE, j'ai un nombre qui n'est pas le bon (??!) ou bien le message comme quoi #TOTAl_BOUCLE est hors de la boucle...

Samy Rabih a écrit :

Euh, ca ne te renvoie même pas le #TOTAl_BOUCLE ?

-----Message d'origine-----
De : Regis [mailto:reggiu@gmail.com] Envoyé : lundi 2 novembre 2009 10:52
À : spip@rezo.net
Objet : [Spip] Boucle d'affichage du nombre d'articles ayant un certain
mot-clé

Bonjour,

Je voudrais afficher le nombre d'articles ayant le mot-clé nouveaute.

La boucle suivante ne fonctionne pas...

<Boucle_1><Boucle1(ARTICLES){titre_mot=nouveaute}></Boucle1>#TOTAL_BOUCLE articles avec ce mot-clé</Boucle_1>

Qqun de sympa pourrait-il me la corriger SVP ?

Un grand merci d'avance !

_______________________________________________
liste spip
spip@rezo.net - désabonnement : envoyer un mail à spip-off@rezo.net

Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
Discuter chez rezo.net

Documentation de SPIP : http://www.spip.net/

Irc : de l'aide à toute heure : http://spip.net/irc

Ceci devrai fonctionner
<BOUCLE_nbArticle(ARTICLES){titre_mot=« nouveaute »}>
</BOUCLE_nbArticle>
#TOTAL_BOUCLE articles avec ce mot-clé
<//B_nbArticle>

Le 2 novembre 2009 10:52, Regis <reggiu@gmail.com> a écrit :

Bonjour,

Je voudrais afficher le nombre d’articles ayant le mot-clé nouveaute.

La boucle suivante ne fonctionne pas…

<Boucle_1><Boucle1(ARTICLES){titre_mot=nouveaute}>#TOTAL_BOUCLE articles avec ce mot-clé</Boucle_1>

Qqun de sympa pourrait-il me la corriger SVP ?

Un grand merci d’avance !


liste spip
spip@rezo.net - désabonnement : envoyer un mail à spip-off@rezo.net

Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
http://archives.rezo.net/spip.mbox/

Documentation de SPIP : http://www.spip.net/

Irc : de l’aide à toute heure : http://spip.net/irc

bonjour,
heu … minuscules → majuscules & nom des boucles !!

<B_1><BOUCLE_1(ARTICLES){titre_mot=nouveaute}></BOUCLE_1>#TOTAL_BOUCLE articles avec ce mot-clé</B_1>
cordialement

Regis a écrit :

En effet, merci beaucoup :slight_smile:

arthegone arthegone a écrit :

Ceci devrai fonctionner
<BOUCLE_nbArticle(ARTICLES){titre_mot="nouveaute"}>
</BOUCLE_nbArticle>
#TOTAL_BOUCLE articles avec ce mot-clé
<//B_nbArticle>

Le 2 novembre 2009 10:52, Regis <reggiu@gmail.com <mailto:reggiu@gmail.com>> a écrit :

    Bonjour,

    Je voudrais afficher le nombre d'articles ayant le mot-clé nouveaute.

    La boucle suivante ne fonctionne pas...

    <Boucle_1><Boucle1(ARTICLES){titre_mot=nouveaute}></Boucle1>#TOTAL_BOUCLE
    articles avec ce mot-clé</Boucle_1>

    Qqun de sympa pourrait-il me la corriger SVP ?

    Un grand merci d'avance !

    _______________________________________________
    liste spip
    spip@rezo.net <mailto:spip@rezo.net> - désabonnement : envoyer un
    mail à spip-off@rezo.net <mailto:spip-off@rezo.net>

    Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
    Discuter chez rezo.net

    Documentation de SPIP : http://www.spip.net/

    Irc : de l'aide à toute heure : http://spip.net/irc

Je ne comprends pas... ?

bobof a écrit :

bonjour,
heu .... minuscules -> majuscules & nom des boucles !!

<B_1><BOUCLE_1(ARTICLES){titre_mot=nouveaute}></BOUCLE_1>#TOTAL_BOUCLE articles avec ce mot-clé</B_1>
cordialement

Regis a écrit :

Bonjour,

Je voudrais afficher le nombre d'articles ayant le mot-clé nouveaute.

La boucle suivante ne fonctionne pas...

<Boucle_1><Boucle1(ARTICLES){titre_mot=nouveaute}></Boucle1>#TOTAL_BOUCLE articles avec ce mot-clé</Boucle_1>

Qqun de sympa pourrait-il me la corriger SVP ?

Un grand merci d'avance !

_______________________________________________
liste spip
spip@rezo.net - désabonnement : envoyer un mail à spip-off@rezo.net

Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
Discuter chez rezo.net

Documentation de SPIP : http://www.spip.net/

Irc : de l'aide à toute heure : http://spip.net/irc

--

Signalez vos spams d'un simple clic. www.signal-spam.fr <https://www.signal-spam.fr/&gt;

Regis a écrit :

Petite erreur dans la syntaxe de ta boucle ...

Le 2 nov. 2009 à 10:52, Regis a écrit :

Bonjour,

Je voudrais afficher le nombre d'articles ayant le mot-clé nouveaute.

La boucle suivante ne fonctionne pas...

<Boucle_1><Boucle1(ARTICLES){titre_mot=nouveaute}></Boucle1>#TOTAL_BOUCLE articles avec ce mot-clé</Boucle_1>

<B_1><BOUCLE_1(ARTICLES) etc ...></BOUCLE_1>[(#TOTAL_BOUCLE) etc ... ]</B_1>

Ça devrait mieux passer ...

Marc

Le 2 nov. 09 à 10:54, Samy Rabih a écrit :

<Boucle_1><Boucle1(ARTICLES){titre_mot=nouveaute}></Boucle1>#TOTAL_BOUCLE
articles avec ce mot-clé</Boucle_1>

B1><BOUCLE1(ARTICLES){titre_mot=nouveaute}> </BOUCLE1>#TOTAL_BOUCLE articles avec ce mot-clé</B1>

sinon regarder la synthaxe du critère