I wish I could have a boucle that groups articles by semesters, like:
- published in the first semester of 2013
- published in the second semester of 2012
- published in the first semester of 2012
- published in the second semester of 2011
- published in the first semester of 2011
I´ve been learning a lot at the "Managing Dates" article, but not enough
I wish I could have a boucle that groups articles by semesters, like:
maybe something like:
<ul>
<BOUCLE_foo(ARTICLES) {!par date}>
[</ul>
<ul>(#DATE|mois|<{7}|?{first semester of , second semester of }|concat{#DATE|annee}|unique)]
<li>"#TITRE" published on [(#DATE|affdate)]</li>
</BOUCLE_foo>
</ul>
Have you tried something like :
<BOUCLE_articles(ARTICLES) {quarter(date)=3}>
or: {quarter(date)==3|4}
or: {quarter(date)!=3}
or: {quarter(date)!==3|4}
I wish I could have a boucle that groups articles by semesters, like:
- published in the first semester of 2013
- published in the second semester of 2012
- published in the first semester of 2012
- published in the second semester of 2011
- published in the first semester of 2011
I´ve been learning a lot at the "Managing Dates" article, but not enough