I am trying to use Zope to create a very simple company website (about
40 pages, or so) with the intention of having the flexibility to
expand functionality etc in due course. I have very little Python /
DTML experience, but have managed to set up the site using
includes on the main index page and then use aquisition to provide
the content within each section.
I'm not sure if this is a safe - or correct way of going about it, but
it seems ideal for our purposes. The navigational menus dynamically
include a link to each sub folder - ie website/services/ - and navigating to a section, index_html is automatically shown. The "mainContent" variable is then
dynamically placed into index_html. (So there are separate
mainContent dtmlDocuments in About Us, Services etc..) This means we
can keep the content completely separate, and do not have to include
headers, footers and other includes within the mainConte nt variable.
However, when using the search script -
http://www.zope.org/Members/Ioan/SiteSearch - results return a link
back to the dtml_Document file mainContent, which gets displayed
without any of the header of footer information. Is there any way to
render the page with header and footer info? (By, I guess, redirecting the
page to the containing folder, so that it pulls out index_html instead...)
Any thoughts on this would be gratefully received - as I'm not sure
this is the best way of using Zope, but it seems so much better than
using plain old included variables.
Yahoo! Cars NEW - sell your car and browse thousands of new and used cars online search now
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )