[Zope-CMF] standard_html_header edit creates error

Kelley, Sean SKelley@ci.santa-rosa.ca.us
Fri, 21 Jun 2002 15:31:42 -0700


Hi,
I added breadcrumbs to my standard_html_header and it works fine until I try
to add a new objects to CMF via the NEW option.  Then I get a site error.
I have added the breadcrumbs dtml reference just above the left box in the
custom folder of skins.  The my_breadcrumbs dtml object is also stored in
custom.  Is there a better place or way of doing this?

I can use the breadcrumbs while navigating through the site but after trying
to add a new item I get a site error before I can see the 'edit metadata"
page.  The object is listed in the folder listing afterwards however.
Site Error  
An error was encountered while publishing this resource. 
SystemError
Sorry, a site error occurred.

ALSO, is ther a way to get a more meaningful error message?

breadcrumbs code:
<!-- Start Breadcrumbs -->

<div class=breadcrumbs>
<dtml-unless expr="PARENTS[0]==PARENTS[-1]">
 <dtml-call "REQUEST.set('reverse_PARENTS', [])">
 <dtml-call "REQUEST.set('reverse_LAST', 0)">
 <dtml-in PARENTS skip_unauthorized>
  <dtml-call "reverse_PARENTS.insert(0, _['sequence-item'])">
 </dtml-in>
 <dtml-in reverse_PARENTS>
  <dtml-if sequence-start>
   <a class="small" href="/">Home</a>
  <dtml-else>
   <dtml-if sequence-end>
    &gt;&nbsp;<dtml-var title_or_id>
   <dtml-else>
     &gt;&nbsp;<a class="small" href="<dtml-var absolute_url>"><dtml-var
title_or_id></a>
   </dtml-if>
  </dtml-if>
 </dtml-in>
</dtml-unless>
</div>

<!-- End Breadcrumbs -->

Sean Kelley
Technology Coordinator
City of Santa Rosa