[opencms-dev] ¿Can I define variables or constants for use in other templates?

M Butcher mbutcher at grcomputing.net
Mon Sep 22 19:45:01 CEST 2003


Yes, there are lots of ways to do that sort of thing (e.g. using
properties files, etc.). IMHO, the _best_ way to do this is to add a new
tag in the reqistry.xml file and then use the appropriate methods from
A_OpenCms to get the values.

Matt

On Mon, 2003-09-22 at 06:13, Salvador Santander wrote:
> Hello, list. I want to define a constant or variable called IMAGES_DIR for
> use in another templates and, if i change the directory of images, i haven't
> to change in all the templates the images directory. ¿Can I define variables
> or constants for use in other templates? Thanks.
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
-- 
M Butcher <mbutcher at grcomputing.net>



More information about the opencms-dev mailing list