Problem Getting dtml-with to work
Folder A contains Folder B contains Folder C. If I write in a dtml page in Folder A: <dtml-with FolderB> <dtml-var FolderC> </dtml-with FolderB> then I get an error which states that FolderC does not exist. Why doesn't the above work? I can display Folder C if I click on it in the ZMI or go to it directly via a URL. Folder C is a Plone news smartfolder, if that makes any difference. Is this some behind-the-scenes Plone magic messing me up, or am I misunderstanding what dtml-with is supposed to do?
----- Original Message ----- From: "Mark, Jonathan (Integic)" <jonathan.mark@integic-hc.com> To: <zope@zope.org> Sent: Friday, April 27, 2007 1:15 PM Subject: [Zope] Problem Getting dtml-with to work
Folder A contains Folder B contains Folder C.
If I write in a dtml page in Folder A:
<dtml-with FolderB> <dtml-var FolderC> </dtml-with FolderB>
then I get an error which states that FolderC does not exist.
Try the following to see what objects your method thinks exist: <dtml-with FolderB> <dtml-in objectIds> <dtml-var sequence-item><br> </dtml-in> </dtml-with FolderB> Jonathan
participants (2)
-
Jonathan -
Mark, Jonathan (Integic)