Hi,<br> I am trying to use Zope to create a very simple company website (about<br> 40 pages, or so) with the intention of having the flexibility to<br> expand functionality etc in due course. I have very little Python /<br> DTML experience, but have managed to set up the site using<br> includes on the main index page and then use aquisition to provide<br> the content within each section.<br> <br> I'm not sure if this is a safe - or correct way of going about it, but<br> it seems ideal for our purposes. The navigational menus dynamically<br> 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<br> dynamically placed into index_html. (So there are separate<br> mainContent dtmlDocuments in About Us, Services etc..) This means we<br> can keep the content completely separate, and do not have to include<br> headers, footers and other includes within the mainContent
variable.<br> Brilliant.<br> <br> However, when using the search script -<br> http://www.zope.org/Members/Ioan/SiteSearch - results return a link<br> back to the dtml_Document file mainContent, which gets displayed<br> without any of the header of footer information. Is there any way to<br> render the page with header and footer info? (By, I guess, redirecting the<br> page to the containing folder, so that it pulls out index_html instead...)<br> <br> Any thoughts on this would be gratefully received - as I'm not sure<br> this is the best way of using Zope, but it seems so much better than<br> using plain old included variables. <br> <br> kind regards,<br> Matt<br> <br><p>
                <hr size=1>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/cars/*http://uk.cars.yahoo.com/">Yahoo! Cars</a>
<font color="red">NEW</font> - sell your car and browse thousands of new and used cars online <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/cars/*http://uk.cars.yahoo.com/">search now</a>
</font>
<hr size=1>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif">