[Zope] newbie Simple WebSite Construction Using Zope and Search
Matt Slavin
matt_slav at yahoo.co.uk
Mon Mar 6 20:45:27 EST 2006
Hi,
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 mainContent variable.
Brilliant.
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.
kind regards,
Matt
---------------------------------
Yahoo! Cars NEW - sell your car and browse thousands of new and used cars online search now
---------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060307/7f736504/attachment.htm
More information about the Zope
mailing list