[ZOPE] newbie question: getting title_or_id from calling docu ment
Oleg Broytmann
Oleg Broytmann <phd@phd.pp.ru>
Tue, 16 Oct 2001 17:37:01 +0400
On Tue, Oct 16, 2001 at 03:15:48PM +0200, Roger Erens wrote:
> # On Tue, Oct 16, 2001 at 08:18:21AM -0400, Jim Washington wrote:
> # > DTML Method titles are accessible as <dtml-var document_title>.
> #
> # This is one of the funniest things I have ever saw :-)))
> # Method's title
> # is called document_title! LOL!
> #
> # Oleg.
> #
>
> Hi LOLeg,
>
> In line with this is the fact that manage_addDocument gives me a DTML
> Method, just like manage_addDTMLMethod. To get me a DTML Document I needed
> to use manage_addDTMLDocument.
This is because manage_addDocument is deprecated. It is rudiment of
ancient API.
Oleg.
--
Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.