Getting value of {assign} variable
| From: | Peter Bowyer | Date: | Mon, 17 Dec 2001 18:15:46 +0000 |
| Subject: | Getting value of {assign} variable | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2321@lists.php.net to get a copy of this message | ||
Is there any way I can find what value has been assigned to a variable from within my script? For instance the designer may have put the following in a template:
{assign var='design' value='popup'}
which means that the page is to be displayed without the usual junk around it (in a popup window). Now obviously in my script I need to find out if the designer has set this value, and if so, what to. I can then put the correct layout around the template's content as required...
Is this possible?
Thanks,
Peter.
--
Maple Design - http://www.mapledesign.co.uk