[Zope] standard_html_header difficulties

Darcy Clark darcyc@engin.umich.edu
Fri, 03 Dec 1999 17:21:36 -0500


Chris McDonough wrote:
> 
> >
> > blah, blah, blah ....
> >
> > What I want to do is have my standard_html_header file use <!--#var
> > document_title--> (i.e. "The MSE250 Homepage") instead of the root
> > folder <!--#var title_or_id--> (i.e. MSE250)  between the    <TITLE>
> > </TITLE> tags. This seems like a logical thing to want to do - to cut
> > down on the amount of repetitive code by using a standard
> > header, but at
> > the same time, having the header change depending on what method is
> > calling it.
> >
> > any help is greatly appreciated ,
> >
> > Darcy
> 
> DTML methods have no attributes of their own.  What you're seeing is the
> title_or_id of the containing folder.  You'll need to spend some time
> with the Zope Content Manager's Guide to get a feel for why this is
> happening.

Chris - I guess I understand enough about methods and acquisition
understand why, but I don't understand enough to know *how* to get
around it. Is there anyway I could shift the namespace with a 'with' or
'in' tag to get standard_html_header to refer the title or id of the
document or method calling it ?

thanks,

Darcy

> 
> Chris McDonough     mailto:chrism@digicool.com
> Digital Creations   http://www.digicool.com
> Publishers of Zope  http://www.zope.org

-- 
---------------------------------------------------
Ph: (734) 764 3377 
Email: darcyc@engin.umich.edu
URL: http://www-personal.engin.umich.edu/~darcyc/
---------------------------------------------------
'If you're not part of the solution, you're part of the precipitate'
..... Steven Wright