Hi Colin

Put the #set statements into your central layout template. The global_macro
template is only
parsed at startup time.

Uwe



                                                                                       
                                  
                      "Colin Chalmers"                                                 
                                  
                      <colin.chalmers@m        An:       "Turbine Users List" 
<[EMAIL PROTECTED]>          
                      axware.nl>               Kopie:                                  
                                  
                                               Thema:    Velocity template             
                                  
                      21.10.2002 21:09                                                 
                                  
                      Bitte antworten                                                  
                                  
                      an "Turbine Users                                                
                                  
                      List"                                                            
                                  
                                                                                       
                                  
                                                                                       
                                  




Hi all,

Using Velocity with Tubine and would like to know if there's somewhere I
can set a *global* variable which is applicable to (almost) all templates.
I want to set a date format which I can use to show the date in a number of
templates. I tried to add a #set statement to the global_macros file but
things went wrong. Any ideas? Can't imagine I have to add #set to each and
every template.

Any help appreciated.

/Colin





--
To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>

Reply via email to