[Zope] ZPT: defining a universal variable.

Mike Renfro renfro@tntech.edu
Thu, 16 Jan 2003 15:05:41 -0600


On Thu, Jan 16, 2003 at 03:20:02PM -0400, Alec Munro wrote:

> My question is where do I define the variable so that I can use it
> anywhere? I get errors if I define it anywhere except the page
> template that is using it.

Assuming we mean an actual variable (int, float, etc.), could you make
it a property of a high-level folder, or the root folder? It should
then be available via the normal acquisition mechanisms.

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu