Re: [SMARTY] Variable scope question

From: Date: Wed, 22 May 2002 18:16:36 +0000
Subject: Re: [SMARTY] Variable scope question
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4362@lists.php.net to get a copy of this message
You mean assigned template variables? All assigned variables should be available within the included template. Tim Fountain wrote:
When you include a template inside a template, is there an easy way to make all currently global variables available to the second template? At the moment I'm having to assign each one manually, but this is for a product where users may have their own variables which need to be available to the template, so I can't assign them beforehand. Cheers, Tim.
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#4362) next »