[Zope] <!--#var title--> = Zope ?!

Nick Garcia ngarcia@codeit.com
Tue, 06 Jun 2000 11:34:58 -0700


Jonathan wrote:
> 
> >"Zope" is the name of the main folder so when you do <dtml-var
> >title> you are getting that folder's title.
> >
> ><dtml-var title_or_id> will give you the title or id of the object
> >that it is within (DTML Document title or id). That is probably what
> >you want.
> 
> Well, that don't work either. And if I am correct; <dtml-var
> title_or_id> yields the same results as <!--var title_or_id--> right?

Yes, that is correct.  I think what you want is <dtml-var
document_title> which should get you the title of the document whether
it's a DTML Method or a DTML Document.
-- 
Nick Garcia | ngarcia@codeit.com
CodeIt Computing | http://codeit.com