Nuno Goncalves wrote:
> 
> > On Thu, 14 Dec 2000, Nuno Goncalves wrote:
> > > How can we define a structure for an entire site with Zope ?
> > > for example i want that all the site's pages have a table with 3
> > > colums. it's kind of a template for the web site !
> >
> >    Using standard_html_header and standard_html_footer in every Document on
> > your site...
> But that way if i want to change the structure, i have to change on every
> page.
> My ideia was to create a template(3 colums) where i add objects (dtml
> documents).
> If i want to change the site structure to 2 colums i only change the
> template !
> 
> Nuno
> 

That is *exactly* what standard_dtml_header and ...footer are
for.
Together, they *are* your template.

You *include* these in every document (using the <dtml-var
standard...> tag. They'll show up in your documents at run time.

Put the default template into the root folder and all your DTML
documents will acquire it. In a sub-folder, you can either do
nothing (then the acquired header and footer will be used), or
override these with a folder-specicic template.

See the Zope book, it explains it pretty well.

Jan

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to