[Zope-CMF] Compound elements

Jon Edwards jon@pcgs.freeserve.co.uk
Mon, 15 Oct 2001 10:21:29 +0100


> -----Original Message-----
> From: Seb Bacon [mailto:seb@jamkit.com]
> Sent: 10 October 2001 16:14

> Cheers - I'll try to ask my questions in a slower dribble as I face
> certain issues over the next couple of weeks...

How are people handling the problem of templates/layouts - i.e. the overall
page-structure of a site/section?

In our system I've separated these from the compound documents, so you pick
a layout from a list, choose which "fixed" elements you want in it - header,
footer, menu, etc. - then the "bit in the middle", the content, comes from
whichever compound document you are viewing.

I guess you could build layouts by building up compounds/composites, but it
seemed simpler to keep them separate, as layouts are likely to be used
across many pages on a site, whereas each compound doc will usually be
unique.

Hope that makes sense? It's hard to explain!

Cheers, Jon