I've a Zope newbie, trying to set up a Zope site at zope.org, and I'm 
running into problems with what seems like it should be a fairly 
simple navigation method.

I've replaced the standard_html_header and footer methods with my 
own, which create a simple two column table; I'm trying to get the 
navigation information into the left column. I've established a 
nav_title property on the two pages that I want to show up in the 
navigation list, with the values "Home" and "Biography", and I've 
written a nav_vertical method to display the list:

<dtml-in objectValues>
        <dtml-if nav_title>
                <a href="&dtml-absolute_url;"><dtml-var nav_title></a><br>

I've embedded a call to that method in the standard_html_header method:

<title><dtml-var title_or_id></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor="#FFFFFF">
<table width="90%" border="0" cellpadding="8">
     <td align="center"><img 
src="http://www.zope.org/Members/rblumberg/images/rbRight" width="50" 
     <td valign="bottom">
       <h2><dtml-var title></h2>
     <td valign="top"><hr>
                <dtml-var nav_vertical>

(The table cells are closed in the standard_html_footer.)

Now, the nav_vertical method works exactly as planned when I call it directly:


The header method also displays correctly (even without the closing 
tags, at least in MSIE 5) when it is called directly:


But the pages which call the new header don't display the navigation list:


Is this a bug in Zope, or am I doing something wrong?


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to