I am trying to get a document title to print out and am having problems. As part of my web page I would like to display the title of a document, and the document id is stored in a variable. But Zope is interpretting the information in the variable as a string and not as a document id. Any ideas, Terry -- __________________________________________________________________ Terry Babbey Technical Support Specialist Lambton College, Sarnia, Ontario, Canada __________________________________________________________________
Terry Babbey wrote:
I am trying to get a document title to print out and am having problems.
As part of my web page I would like to display the title of a document, and the document id is stored in a variable. But Zope is interpretting the information in the variable as a string and not as a document id.
I guess I'm confused. You don't use id for the ID? As in, <dtml-var id> doesn't work properly? There's also <dtml-var title>, <dtml-var title_or_id>, <dtml-var document_title> ... does that help? -- ethan mindlace fremen Zopatista Community Liason Abnigate I!
You must be thinking of this: <dtml-var "index_html.title"> ----- Original Message ----- From: Terry Babbey <terry@lambton.on.ca> To: <zope@zope.org> Sent: Monday, July 10, 2000 9:04 PM Subject: [Zope] Document Title
I am trying to get a document title to print out and am having problems.
As part of my web page I would like to display the title of a document, and the document id is stored in a variable. But Zope is interpretting the information in the variable as a string and not as a document id.
Any ideas, Terry
-- __________________________________________________________________ Terry Babbey Technical Support Specialist Lambton College, Sarnia, Ontario, Canada __________________________________________________________________
_______________________________________________ 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 )
participants (3)
-
ethan mindlace fremen -
peter be -
Terry Babbey