I'm trying to call a document in a <dtml-var> statement. The folder structure is laid out like this: www.foobar.com | |__css/ | |__images/ | |__widgets/ | |__foo/ | |__bar/ In the foo folder I'm trying to call DTML documents in the widgets folder (this folder contains template objects). If I'm in the www.foobar.com folder, I can call any object in the widgets folder by doing this: <dtml-with widgets> <dtml-var fooWidget> </dtml-with>. That works perfectly. If I'm in the "bar" folder, and use "<dtml-with widgets> <dtml-var fooWidget> </dtml-with>" or just <dtml-var fooWidget> it can't find the object. What am I doing wrong? How do I call fooWidget (in widget folder) from the "bar" folder?
In the foo folder I'm trying to call DTML documents in the widgets folder (this folder contains template objects). If I'm in the www.foobar.com folder, I can call any object in the widgets folder by doing this: <dtml-with widgets> <dtml-var fooWidget> </dtml-with>. That works perfectly. If I'm in the "bar" folder, and use "<dtml-with widgets> <dtml-var fooWidget> </dtml-with>"
Doing this works for me, so you have to be more explicit in what you are doing to know what is wrong.
or just <dtml-var fooWidget>
That isn't expected to work.
participants (2)
-
Douglas Perry -
Lennart Regebro