Hi
May I write in English? [Is there a similar list in English?]
Comment est ce que on peut ecrire le nom de la rubrique de chaque
article dans une liste de les plus recentes?
<BOUCLE_rubrique_principal(RUBRIQUES) {id_rubrique}>
<BOUCLE_articles(ARTICLES) {tous} {id_rubrique != 1} {par
date}{inverse} {pagination}>
<h3 class="titre"><a href="#URL_ARTICLE">#TITRE</a></h3>
<small>[(#DATE|affdate)][ | (#URL_RUBRIQUE)]</small><br>
<small>[(#DATE|affdate)][ | (#ID_RUBRIQUE)]</small><br>
</BOUCLE_articles>
</BOUCLE_rubrique_principal>
Le resultat est:
Pra falar de cinema
7 de novembro de 2006 | spip.php?rubrique9
7 de novembro de 2006 | 9
...
Mais je veux le nom de la rubrique, pas le link ou le numero.
Merci d'avance!
Hugs from Brésil
Tereza
On 11/22/06, Mike LECOMTE <flashmaster@andurance.net> wrote:
Hello !
bom dia !
Estou feliz em conhecê-lo !
Conhecê-la! Sou uma moça 
In fact, what you should understand is that each variable beginning with
a # stand for a particular data from your section ( stand for "RUBRIQUE")
#ID_RUBRIQUE get the ID of your section
#URL_RUBRIQUE get the url of your section , and what you're looking for
is #TITRE, wich is the section 's name in the loop.
But in this case the boucle is ARTICLES, so #TITLE will return the
name of the article, and I need the name of article's rubrique. I've
also tried:
<BOUCLE_articles(ARTICLES) {tous} {id_rubrique != 1} {par
date}{inverse} {pagination}>
<small>[(#DATE|affdate)]<BOUCLE_r(RUBRIQUES){id_article}>[ |
(#TITRE)]</BOUCLE_r></small>
</BOUCLE_articles>
but the error is "Unknown column 'id_article' in 'where clause'"
Hope this will help you, and i apologize for my bad english.
I'm not very good in English too, but French is still worse :-}
Obrigada!
Tereza
Hi
May I write in English? [Is there a similar list in English?]
http://listes.rezo.net/mailman/listinfo/spip-pt
http://listes.rezo.net/mailman/listinfo/spip-en
http://listes.rezo.net/mailman/listinfo/spip-es
Comment est ce que on peut ecrire le nom de la rubrique de
chaque article dans une liste de les plus recentes?
<BOUCLE_rubrique_principal(RUBRIQUES) {id_rubrique}>
<BOUCLE_articles(ARTICLES) {tous} {id_rubrique != 1} {par
date}{inverse} {pagination}>
<h3 class="titre"><a href="#URL_ARTICLE">#TITRE</a></h3>
<small>[(#DATE|affdate)][ | (#URL_RUBRIQUE)]</small><br>
<small>[(#DATE|affdate)][ | (#ID_RUBRIQUE)]</small><br>
</BOUCLE_articles>
</BOUCLE_rubrique_principal>
Le resultat est:
Pra falar de cinema
7 de novembro de 2006 | spip.php?rubrique9
7 de novembro de 2006 | 9
...
Mais je veux le nom de la rubrique, pas le link ou le numero.
<BOUCLE_articles (ARTICLES) {!par date}>
<BOUCLE_rubriques (RUBRIQUES) {id_rubrique}>
#TITRE
</BOUCLE_rubriques>
</BOUCLE_articles>
Merci d'avance!
Hugs from Brésil
Tereza