[Zope] document_src broken on this site

JP Gilles jean-pierre.gilles@cirad.fr
Tue, 30 Nov 1999 11:07:13 +0100


Hello,

Yes I have the same problem with "breadcrumbs", I get around it by
including this :
<BODY>
  <dtml-unless "_['URL'][-11:] == 'view_source'">
    <dtml-var breadcrumbs>
  </dtml-unless>
in my standard_html_header, it works fine

Jean-Pierre GILLES
CIRAD-Présidence
Montpellier
FRANCE

Loren Stafford a écrit :
> 
> I got it working.  I don't remember which change did it; but I'm happy
> anyway.
> 
> There does seem to be some problem on my sites with infinite recursion. I
> have the same test for view_source in my standard_html_footor as the
> www.zope.org site does, but infinite recursion happens anyway. I get around
> it by not including standard_html_header and standard_html_footer in the
> "view_source" method.
> 
> Maybe it has to do with the "breadcrumbs" method.
> 
> Did any other "breadcrumbs" users have the same problem?
> 
> -- Thanks
> -- Loren
> 
> > -----Original Message-----
> > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> > Michel Pelletier
> > Sent: Monday, November 29, 1999 14:02
> > To: 'Loren Stafford'; zope@zope.org
> > Subject: RE: [Zope] document_src broken on this site
> >
> >
> > > -----Original Message-----
> > > From: Loren Stafford [mailto:lstafford@icompression.com]
> > > Sent: Monday, November 29, 1999 4:41 PM
> > > To: zope@zope.org
> > > Subject: [Zope] document_src broken on this site
> > >
> > >
> > > On one site (http://www.fippless.org/Quena/view_source) it
> > > fails with a name
> > > error on "document_src" (Zope 2.0.1). You can see the
> > > traceback by going
> > > there.
> >
> > What is /Quena?  a DTML Document or Method?  If I go to
> > /Quena/document_src it gives a 404 not found, but
> > /index_html/document_src prompts me for a login (which is the correct
> > behavior, it's often useful to try out an object method by going
> > directly to it with the web browser, document_src is this sort of
> > method).  Perhaps the object is just whacked and needs to be re-created?
> >
> > -Michel
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> >           No cross posts or HTML encoding!
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
>           No cross posts or HTML encoding!
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )