[Templates] Newbie question about setting site wide variables

David Favor david at davidfavor.com
Mon Apr 28 21:08:20 BST 2008


I'm trying to set a site wide dynamic variable date similar to:

    [%
       email     = 'someone at somewhere.com'
       this_year = [% date.format(date.now,'%Y') %]
    %]

Let me know the best way to dynamically assign the current year
to a variable prior, to processing any templates.

Thanks.

-- 
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com for the easy way.



More information about the templates mailing list