There are probably a lot of ways to do this.  I am creating a blog  
with archives and I wanted it to say "TODAY" on the top if the article  
was written today.  I tried using the conditional_tags extension to  
evaluate the pub date and compare it to today's date like this:


<r:if condition="<r:date for='now' format='%Y%j' /> is <r:date  
format='%Y%j' />">Today</r:if>

That only resulted in this:

'if' tag error: Error in condition " is " (could not parse condition)

I guess you can't use radius tags like this or it's just not set up  
right.  Does anyone know a better way to do this or how to use this  
extension properly?

Steven


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to