Example if_dates_before · Oct 2, 05:33 pm by Rick Silletti
The dates_before tag returns article content as true in the conditional tag when the posting date is before, but not to include, the date as set in the setdate attribute, deafult is the current date. This tag arrangement will return article content for all articles in the current list with posting dates 2006-09-11 thru 2006-10-09; it will also generate a day header at each dateroll if an article for that date exists. The dates_before tag, in this case, limits returned article content to those posted before 2006-10-10.
<txp:ras_if_dates_after setdate="2006-09-10">
<txp:ras_if_dates_before setdate="2006-10-10">
<txp:if_different>
<!-- heading - only once per day -->
<p><txp:posted format="%A " /></p>
</txp:if_different>
<p><txp:permlink><txp:title /></txp:permlink>
: <txp:posted /></p>
</txp:ras_if_dates_before>
</txp:ras_if_dates_after>
Furthermore ·
Requires ras_if_dates 4.0.4.1
Commenting is closed for this article.

