[Zope-CMF] Updating skins for a product at the FS level

J C Lawrence claw@kanga.nu
Tue, 02 Jul 2002 14:46:40 -0700


On 02 Jul 2002 17:30:40 -0400 
Tres Seaver <tseaver@zope.com> wrote:
> On Tue, 2002-07-02 at 16:43, J C Lawrence wrote:
>> On 02 Jul 2002 14:59:45 -0400 Tres Seaver <tseaver@zope.com> wrote: >
>> On Tue, 2002-07-02 at 14:23, J C Lawrence wrote:

> The price of success is having to support the past.  CMF was in
> development long before Page Templates were widely available, and some
> folks are still using it without them (ZopeZen, for instance, is / was
> DTML-based).

Gotcha.

> Therefore, we have two sets of skins, one DTML-based and the other
> (primarily) ZPT based.  The ZPT skins depend on some features of the
> DTML skins (the Python scripts, for instance) and override others (the
> actual views).

Okay, what controls which is preferentially matched first?  Taking,
again, CMFTopic as the sample, there's a topic_view.pt and a
topic_view.dtml.  Are ZPT's always preferentially matched over same-name
DTMLs?

This doesn't seem to be the case as stuff in the custom folder overrides
both.

> For learning, I would focus on the ZPT versions, and look at the DTML
> side only for reference.

<nod>

Suggestion on which docs/HWTOs etc to start with on ZPT?

-- 
J C Lawrence                
---------(*)                Satan, oscillate my metallic sonatas. 
claw@kanga.nu               He lived as a devil, eh?		  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.