[Zope] any cleaner or cleverer way of inclusion

Can Burak Cilingir canburak at knuth.cs.bilgi.edu.tr
Mon Aug 18 14:06:54 EDT 2003


> You need to call folder "Otherthing", not a page "Otherthing" 8-) 
> http://xxx/Something/Otherthing/
                                 ^
this is a good suggestion. i don't undestand why zope assigns urls without 
a trailing slash (absolute_url). my navigation method now uses
href="<dtml-var id>/"> (was href="<dtml-id>">)

but this doesn't solved the problem.

following code 
---cut---
---------var----------
<dtml-var bilgi_cs_index>
------loooooop--------
<dtml-in expr="PARENTS[0].objectValues('DTML Method')" >
<dtml-comment>this was returning. this behaviour is a must 
to illustrate the problem.</dtml-comment>
<dtml-var bilgi_cs_index>
</dtml-in> 
---cut---

displays

---------var---------- No content for this folder. ------loooooop-------- 
Year 1

address is: http://xxx/Courses/Year_1/
"Year 1" comes from http://xxx/Courses/Year_1/my_index
"No content.." comes from http://xxx/my_index  (this will be changed 
with "missing" later.)

thanks in advance.




More information about the Zope mailing list