Re: [Zope] Uses of METAL?
Hi Tino, your METAL-TAL model sounds interisting. Can you explain it in more detail so that I can understand it, please (may be with a short example) ? May be I'll start with ZPT straight after ;-) Thanks a lot, Elena Tino wrote: Currently I'm using a construct like a main-template with define-macro parts, some common-for-some-pages templates which are assembled with macros from main-template and define themself as one whole macro, the actual client templates use this assembled template as master. This allows to archieve the main goal: dont duplicate parts of content/logic. Every part can be changed in only one place and changes will populate thru the whole site where this part is used. HTH Tino Wildenhain
Hi, Correct me if I'm wrong, but unless METAL is used with only very limited, well-defined and/or non-nested bits of included stuff, using METAL makes it very difficult to edit the layout of ZPT pages with external design tools like Dreamweaver. Ever tried to change the look of Plone with Dreamweaver? I'm considering writing my own simplified skin for Plone that uses no METAL, so I can make use of external design tools to customize numerous different implementations, because my clients want sites where design changes are accessible to their existing web developers. -dave
On Wed, 6 Nov 2002 7:46 pm, David Hart wrote:
Correct me if I'm wrong, but unless METAL is used with only very limited, well-defined and/or non-nested bits of included stuff, using METAL makes it very difficult to edit the layout of ZPT pages with external design tools like Dreamweaver. Ever tried to change the look of Plone with Dreamweaver?
I believe you are correct. A tool like Dreamweaver benefits more from having its own library of HTML/TAL fragments which may then be inserted where needed. Editing the library item will then allow across-the-site changes happen in a similar manner to METAL. This is used to good effect in the Bizar Shop product which ships with a large selection of library items, and uses no METAL. METAL is used in my Roundup project (http://roundup.sf.net/) to provide a "page" template (I call the page macro defined "icing" ;) which provides a facility that nothing else could (well, not in the constraints of well-formed HTML that TAL works in). Richard
external design tools like Dreamweaver. Ever tried to change the look of Plone with Dreamweaver?
No and I dont see the reason for it anyway. Many things can be changed by tweaking the css. Load ploneCustomize.css and override the things you want to change. If you want to change the layout completely, and use dreamweaver, then do so. Create a new main_template.pt with the look you want, then add tal and metal to it later on... You can change almost everything with just these two files. -- /Magnus
participants (4)
-
David Hart -
Elena Schulz -
Magnus Heino -
Richard Jones