Re: [SMARTY] Smarty and ZopePageTemplates

From: Date: Wed, 19 Jun 2002 18:07:17 +0000
Subject: Re: [SMARTY] Smarty and ZopePageTemplates
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4947@lists.php.net to get a copy of this message
i've actually worked out a solution provided my a member on this list that allows me to create xhtml templates fine. i have tags such as <dts:BLOCKS side="right" /> and even inline tag attributes such as <body background="[dts:$THEMEPATH]/images/background.jpg"> my site can be found at www.duskyblue.net if you have any questions. i've been trying to find out this solution forever to incorporate into the postnuke project. surprised that no one has done this before, or if they have they just kept it to themselves. hope to hear from you. ;) -james
From: Peter Bowyer <peter@mapledesign.co.uk> To: Andres Ferrando <anferr@mecon.gov.ar>, smarty <smarty-general@lists.php.net> Subject: Re: [SMARTY] Smarty and ZopePageTemplates Date: Wed, 19 Jun 2002 18:06:24 +0100 Hi Andres
ZPT are defined as atribute namespaces, and sytax is 100% compatible with XHTML, so the files can be edited with any editor (like Dreamweaver or any other), modified by the programer, and edited again without troubles for the designer. a simple example, could be: <a href="other.htm" tal:content="link">Link to other</a> This way, the designer can work easily on the templates, and separation betwen design and logic is biggest!
I agree, it's a very nice way to work (so long as the designer doesn't mess up the tal: tag!) and really allows one to design the page.
So, I've read that I could change open and close tags, so editors don't scream, but it's still wrong xhtml syntax ... is to hard to change that?
I don't know. Monte and Andrei seem to think so, and as they wrote Smarty I'll let them make the judgement :-) By the way, why the transition from python to PHP? (assuming that you were doing a Zope site before) Peter -- Maple Design - quality web design and programming http://www.mapledesign.co.uk -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
James Nguyen I/T Professional 600 Anton Boulevard 3rd Floor Costa Mesa, Ca 92626 "The philosophers have only interpreted the world in various was; the point is to change it."
                                  -Karl Marx
_________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com

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