Re: [Zope] site structure (fwd)

2000-12-14 Thread Oleg Broytmann
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

RE: [Zope] site structure (fwd)

2000-12-14 Thread Max M
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

RE: [Zope] site structure (fwd)

2000-12-14 Thread Oleg Broytmann
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

Re: [Zope] site structure (fwd)

2000-12-14 Thread Stephane Bortzmeyer
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'

RE: [Zope] site structure (fwd)

2000-12-14 Thread Nuno Goncalves
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

RE: [Zope] site structure (fwd)

2000-12-14 Thread Nuno Goncalves
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

RE: [Zope] site structure (fwd)

2000-12-14 Thread Oleg Broytmann
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,

RE: [Zope] site structure (fwd)

2000-12-14 Thread Nuno Goncalves
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

RE: [Zope] site structure (fwd)

2000-12-14 Thread sean . upton
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

RE: [Zope] site structure (fwd)

2000-12-14 Thread Oleg Broytmann
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

RE: [Zope] site structure (fwd)

2000-12-14 Thread sean . upton
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)