• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Template conditional relating to time

AndyB

Well-known member
#1
Is it possible to show a link based on time in a template? For example:

Code:
<xen:if is="{$post.isFirst} AND $post.post_date < (time() - 3600)">
 
</xen:if>
Or will I need to write an addon for this?