[Zope] object paths with dtml-var -- newbie

Danny Morgan danielhmorgan@cox.net
Sun, 11 Aug 2002 20:28:32 -0500


--=====================_30499824==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Good evening, good morning, and good day,

I'm having a small but frustrating problem. I've read the book, searched 
the archives, etc. Any help
will be appreciated.

with the file object, "mds_logo" in the current folder, the following code 
works:
         <html>
         <body>
                 <dtml-var mds_logo>
         </body>
         </html>


it does not work, however, if I move the object to the "images" folder and 
reference it
as follows:
         <html>
         <body>
                 <dtml-var images/mds_logo>
         </body>
         </html>


for what it's worth, if I call the logo from the address bar in my browser, 
it works:

         http://freezope2.nipltd.net/mds/images/mds_logo


Danny

--=====================_30499824==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
Good evening, good morning, and good day,<br><br>
I'm having a small but frustrating problem. I've read the book, searched
the archives, etc. Any help<br>
will be appreciated.<br><br>
with the file object, &quot;mds_logo&quot; in the current folder, the
following code works:<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;html&gt;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;body&gt;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;dtml-var
mds_logo&gt;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;/body&gt;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;/html&gt;<br><br>
<br>
it does not work, however, if I move the object to the &quot;images&quot;
folder and reference it <br>
as follows:<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;html&gt;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;body&gt;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;dtml-var
images/mds_logo&gt;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;/body&gt;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&lt;/html&gt;<br><br>
<br>
for what it's worth, if I call the logo from the address bar in my
browser, it works:<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><a href="http://freezope2.nipltd.net/mds/images/mds_logo" eudora="autourl"><font color="#0000FF"><u>http://freezope2.nipltd.net/mds/images/mds_logo<br><br>
<br>
</a></u></font>Danny<br>
</html>

--=====================_30499824==.ALT--