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>. The context here is: http://www.foobar.com/widgets/fooWidget !!! 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. This works for me too but the context then is: http://www.foobar.com/bar/widgets/fooWidget !!!
This should make no difference in execution but might do havoc with your sitenavigation.
or just <dtml-var fooWidget>
That isn't expected to work.
From: <oliver.erlewein@sqs.de>
Doing this works for me, so you have to be more explicit in what you are doing to know what is wrong. This works for me too but the context then is: http://www.foobar.com/bar/widgets/fooWidget !!!
Yes. If you from bar, does a <dtml-with widgets> and then do a <dtml-var fooWidget>, then yes, this is the same as calling the fooWidget as /bar/widgets/fooWidget. Those two things do basically the same thing. This is expected and per design.
This should make no difference in execution but might do havoc with your sitenavigation.
That depends on how you have created your sitenavigation. What exactly is the problem?
participants (2)
-
Lennart Regebro -
oliver.erlewein@sqs.de