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:
895 bytes
|
Line | |
---|
1 | #SET{tri,#CONFIG{soyezcreateurs/ordre_quoideneuf,date_modif}}#SET{senstri,-1} |
---|
2 | <B_articles_recents> |
---|
3 | #ANCRE_PAGINATION |
---|
4 | <dl id="listearticlerubrique"> |
---|
5 | <BOUCLE_articles_recents(ARTICLES){branche}{lang}{tri #GET{tri},#GET{senstri}}{!archive}{pagination}> |
---|
6 | <INCLURE{fond=noisettes/rubriques/rubrique_automatique_article_bloc,id_article,affrub=1}> |
---|
7 | </BOUCLE_articles_recents> |
---|
8 | </dl> |
---|
9 | [<p class="pagination">(#PAGINATION{prive})</p>] |
---|
10 | </B_articles_recents> |
---|
11 | [(#REM) Vérifier qu'il y a des articles dans la branche : |
---|
12 | - si oui, afficher le plan local |
---|
13 | - si non, afficher les sites de la branche |
---|
14 | ] |
---|
15 | <BOUCLE_ArticlesDansBranche(ARTICLES){branche}{0,1} {lang}> |
---|
16 | [(#INCLURE{fond=noisettes/plan/plan_branche,id_rubrique=#ENV{id_rubrique},env})] |
---|
17 | </BOUCLE_ArticlesDansBranche> |
---|
18 | [(#INCLURE{fond=noisettes/sites_branche,id_rubrique=#ENV{id_rubrique},env})] |
---|
19 | <//B_ArticlesDansBranche> |
---|
20 | <//B_articles_recents> |
---|
21 | #FILTRE{mini_html} |
---|
Note: See
TracBrowser
for help on using the repository browser.