9 Nov
1999
9 Nov
'99
10:19 a.m.
Rik Hoekstra <fghoekstra@cit10.wsd.leidenuniv.nl> writes:
try:
<dtml-in "objectValues(['Folder'])"> <dtml-if "hasProperty('desiredProperty' and desiredProperty == 'desiredValue')"> <a href="<dtml-var absolute_url>"><dtml-var id></a> </dtml-if> </dtml-in>
Ok this works.
On the other hand, if index_html is a DTML Document then you would have to change the reference to the Folder to:
<!--#var "PARENTS[0].title_and_id"-->
For some obscure reason, this doesnt work. I only get a empty string returned. Another question: When i am in some subfolder a/b/c of folder News, which is a direct descendant of the root folder, how do i get the id of this 'News' folder? -- Arjan Scherpenisse, A.Scherpenisse@zap.a2000.nl ICQ# 27592135