AndyB Well-known member Mar 28, 2013 #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?
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?
Jake Bunce Well-known member Mar 28, 2013 #2 Example: http://xenforo.com/community/resources/change-header-based-on-time-of-day.409/ Upvote 0 Downvote