Hallo, on a page named index_html I am using the following code to get the object shown referenced in profile. It doesnt work. Only the name of the object is printed. Whats wrong? ------------------------------------------------- <dtml-if profile> <dtml-var profile> <dtml-else> <ul> <dtml-in "profile_script(suche='profile')" skip_unauthorized="1" reverse> <li><a href="index_html?profile=<dtml-var id>"><dtml-var title></a></li> </dtml-in> </ul> </dtml-if> -------------------------------------------------- Thanks Jochen
Am Freitag, 24. Januar 2003 16:27 schrieb Jochen Frühauf:
Hallo,
on a page named index_html I am using the following code to get the object shown referenced in profile. It doesnt work. Only the name of the object is printed. Whats wrong?
------------------------------------------------- <dtml-if profile> <dtml-var profile>
You should use <dtml-var "_.getitem(profile)"> to see the content of the referenced object.
<dtml-else>
<ul> <dtml-in "profile_script(suche='profile')" skip_unauthorized="1" reverse> <li><a href="index_html?profile=<dtml-var id>"><dtml-var title></a></li> </dtml-in> </ul>
</dtml-if> --------------------------------------------------
Thanks Jochen
Matthias
_______________________________________________ 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 )
__________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Bis zu 100 MB Speicher bei http://premiummail.yahoo.de
participants (2)
-
Jochen Frühauf -
Matthias Hörtzsch