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.
No, you only need to change 2 places: standard_html_header and
standard_html_footer :) All Documents that use these
From: Oleg Broytmann
But that way if i want to change the structure, i have to change on every
page.
No, you only need to change 2 places: standard_html_header and
standard_html_footer :) All Documents that use these header/footer will be
rendered using new structure.
I think you
On Thu, 14 Dec 2000, Max M wrote:
If I where to do it in regular Python I would use special classes for
special layouts. That is hard to do in Zope.
Why hard? Not hard at all - develop your own set of classes, make it
into a Product, and use instance of these classes instead of DTML
On Thu, Dec 14, 2000 at 06:25:19PM +0100, Max M wrote:
Some things are pretty hard to do in zope, because of the header/footer
principle.
Making a global look to a site can be pretty difficult if it doesn't fit
nicely into a header/footer structure, with a main area being the pages'
i see !!!
i have just found a package ZopeFish that has ZFSuite.
ZFSuite has an object (ZF document template) that
defines a layout and structure for the entire site.
More info at
http://www.zope.org/WikiCentral/ZFWiki
still
i installed it (it is a bunch of libs) but i haven't tested it !
if
On Thu, 14 Dec 2000, Oleg Broytmann wrote:
On Thu, 14 Dec 2000, Max M wrote:
If I where to do it in regular Python I would use special classes for
special layouts. That is hard to do in Zope.
Why hard? Not hard at all - develop your own set of classes, make it
into a Product, and use
On Thu, 14 Dec 2000, Nuno Goncalves wrote:
Why hard? Not hard at all - develop your own set of classes, make it
into a Product, and use instance of these classes instead of DTML
Documents. Actually, there is nothing special in DTML Documents - they are
instances of DTMLDocument class,
But how could you build a page with the template developed ??
something like:
dtml var template(COMPONENTS LIKE HEADER AND FOOTER AS ARGUMENTS)
and how can you generelize the objects to beeing used by the template ?
No, no, no! :)
You misunderstand how the Zope works. You think
TED]; Zope@Zope. Org
Subject: RE: [Zope] site structure (fwd)
i see !!!
i have just found a package ZopeFish that has ZFSuite.
ZFSuite has an object (ZF document template) that
defines a layout and structure for the entire site.
More info at
http://www.zope.org/WikiCentral/ZFWiki
still
i
On Thu, 14 Dec 2000, Nuno Goncalves wrote:
humm !!! I see now !!
So i can have a general structure for all my site and when create a
page, specifying the template to use and consequently adding the objects
that i want ??
No, you should separate design (template) and content. Actually, it
elligent standard_html_headers
that do a lot of work for you.
Hope this helps,
Sean
-Original Message-
From: Nuno Goncalves [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 14, 2000 10:19 AM
To: Oleg Broytmann
Cc: Max M; Zope@Zope. Org
Subject: RE: [Zope] site structure (fwd)
11 matches
Mail list logo