Last change
on this file since 111491 was
111491,
checked in by real3t@…, 2 years ago
|
Pouvoir déclarer une rubrique (et sa branche) comme Blog : affiche les articles de la branche de manière anti-chronologique
|
File size:
1.1 KB
|
Line | |
---|
1 | #SET{tri,#CONFIG{soyezcreateurs/ordre_quoideneuf,date_modif}}#SET{senstri,-1} |
---|
2 | <BOUCLE_ClassementAlpha(RUBRIQUES){id_rubrique}{titre_mot=ClassementAlpha}>#SET{tri,titre}#SET{senstri,1}</BOUCLE_ClassementAlpha> |
---|
3 | <BOUCLE_test_numero(ARTICLES){id_rubrique}{titre==^[0-9]+[.)]}{0,1}>#SET{tri,num titre}#SET{senstri,1}</BOUCLE_test_numero> |
---|
4 | <//B_ClassementAlpha> |
---|
5 | <B_articles_recents> |
---|
6 | #ANCRE_PAGINATION |
---|
7 | <dl id="listearticlerubrique"> |
---|
8 | <BOUCLE_articles_recents(ARTICLES){id_rubrique}{lang}{tri #GET{tri},#GET{senstri}}{!archive}{pagination}> |
---|
9 | <INCLURE{fond=noisettes/rubriques/rubrique_automatique_article_bloc,id_article}> |
---|
10 | </BOUCLE_articles_recents> |
---|
11 | </dl> |
---|
12 | [<p class="pagination">(#PAGINATION{prive})</p>] |
---|
13 | </B_articles_recents> |
---|
14 | [(#REM) Vérifier qu'il y a des articles dans la branche : |
---|
15 | - si oui, afficher le plan local |
---|
16 | - si non, afficher les sites de la branche |
---|
17 | ] |
---|
18 | <BOUCLE_ArticlesDansBranche(ARTICLES){branche}{0,1} {lang}> |
---|
19 | [(#INCLURE{fond=noisettes/plan/plan_branche,id_rubrique=#ENV{id_rubrique},env})] |
---|
20 | </BOUCLE_ArticlesDansBranche> |
---|
21 | [(#INCLURE{fond=noisettes/sites_branche,id_rubrique=#ENV{id_rubrique},env})] |
---|
22 | <//B_ArticlesDansBranche> |
---|
23 | <//B_articles_recents> |
---|
24 | #FILTRE{mini_html} |
---|
Note: See
TracBrowser
for help on using the repository browser.