For your second question:
<BOUCLE_authors(AUTEURS)>
<BOUCLE_articles(ARTICLES){id_auteur} />[(#TOTAL_BOUCLE|>={10}|oui)#_authors:NOM - #TOTAL_BOUCLE]<//B_articles>
</BOUCLE_authors>
George
Quoting Kamran Mir Hazar <mirhazar.kamran@gmail.com>:
Hello,
Two questions:
1: What is the correct way of looping through authors where they
published or not published articles in a particular section/rubrique,
and list the name if authors. For example, I want to list authors who
have not published articles in section/rubrique 2.
2: How do I sort authors who have published more than for example 10
articles, and list their names?
Thank you
Kamran
For your second question:
<BOUCLE_authors(AUTEURS)>
<BOUCLE_articles(ARTICLES){id_auteur}
/>[(#TOTAL_BOUCLE|>={10}|oui)#_authors:NOM - #TOTAL_BOUCLE]<//B_articles>
</BOUCLE_authors>
George
Quoting Kamran Mir Hazar <mirhazar.kamran@gmail.com>:
Hello,
Two questions:
1: What is the correct way of looping through authors where they
published or not published articles in a particular section/rubrique,
and list the name if authors. For example, I want to list authors who
have not published articles in section/rubrique 2.
2: How do I sort authors who have published more than for example 10
articles, and list their names?
Thank you
Kamran
For your second question:
<BOUCLE_authors(AUTEURS)>
<BOUCLE_articles(ARTICLES){id_auteur}
/>[(#TOTAL_BOUCLE|>={10}|oui)#_authors:NOM - #TOTAL_BOUCLE]<//B_articles>
</BOUCLE_authors>
George
Quoting Kamran Mir Hazar <mirhazar.kamran@gmail.com>:
Hello,
Two questions:
1: What is the correct way of looping through authors where they
published or not published articles in a particular section/rubrique,
and list the name if authors. For example, I want to list authors who
have not published articles in section/rubrique 2.
2: How do I sort authors who have published more than for example 10
articles, and list their names?
Thank you
Kamran
For your second question:
<BOUCLE_authors(AUTEURS)>
<BOUCLE_articles(ARTICLES){id_auteur}
/>[(#TOTAL_BOUCLE|>={10}|oui)#_authors:NOM - #TOTAL_BOUCLE]<//B_articles>
</BOUCLE_authors>
George
Quoting Kamran Mir Hazar <mirhazar.kamran@gmail.com>:
Hello,
Two questions:
1: What is the correct way of looping through authors where they
published or not published articles in a particular section/rubrique,
and list the name if authors. For example, I want to list authors who
have not published articles in section/rubrique 2.
2: How do I sort authors who have published more than for example 10
articles, and list their names?
Thank you
Kamran
to paginate you have to write the results of the test loop in an array
(#ARRAY - SPIP) and use this for an auteurs
loop which you can paginate, for your example this would be:
For your second question:
<BOUCLE_authors(AUTEURS)>
<BOUCLE_articles(ARTICLES){id_auteur}
/>[(#TOTAL_BOUCLE|>={10}|oui)#_authors:NOM - #TOTAL_BOUCLE]<//B_articles>
</BOUCLE_authors>
George
Quoting Kamran Mir Hazar <mirhazar.kamran@gmail.com>:
Hello,
Two questions:
1: What is the correct way of looping through authors where they
published or not published articles in a particular section/rubrique,
and list the name if authors. For example, I want to list authors who
have not published articles in section/rubrique 2.
2: How do I sort authors who have published more than for example 10
articles, and list their names?
Thank you
Kamran