document_id vs document_title
25 Feb
1999
25 Feb
'99
8:45 p.m.
Having a document in any folder I noticed this odd behaviour from the "if" statement: I can test on document_title but ain't been able at all to make "if" recognize the document_id... EG: running this piece of code I get "yabadabadooo out of luck" (obviously I made a doc with id and title "ttt"...) <!--#if expr="document_title=='ttt'"--> yabadabadooo <!--#else--> out of luck <!--#/if--> <!--#if expr="document_id=='ttt'"--> yabadabadooo <!--#else--> out of luck <!--#/if--> ...and the same with id and title of any folder. I suspect Zope is that I cannot make any test on "id"... this compells me to always provide a title to a doc if I want to test for its existence... Max Murdock
9901
Age (days ago)
9901
Last active (days ago)
0 comments
1 participants
participants (1)
-
Max Murdock