RE: [SMARTY] vars from templates structure
| From: | Juri Smarschevski | Date: | Fri, 22 Nov 2002 14:54:43 +0000 |
| Subject: | RE: [SMARTY] vars from templates structure | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6517@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Monte Ohrt [mailto:monte@ispi.net]
> Sent: Friday, November 22, 2002 3:22 PM
> To: Juri Smarschevski
> Cc: smarty-general@lists.php.net
> Subject: RE: [SMARTY] vars from templates structure
>
>
> Interesting. In all my experience, it is the programmer that sets up the
> variables for the template in accordance to the page content
> requirements, and the web designer just needs to know what variables are
> available. Variables that have to do with presentation should NOT come
> from the application, you just lost your separation. They should be in
> the template, or come out of config files.
Yes, you are right, we will insert in relevant templates places a call
of a smarty plugin function, which registers later the "var" for editing
on this template and is responsible for output of vars content.
thx and regards,
juri