Thanks, it really helped (but the syntax seems to be &lt;a tal:attributes=&quot;href<br>string:${here/folderB/absolute_url}/ -&nbsp; not the _path ending...<br>Ole<br><br><div><span class="gmail_quote">On 2/14/06, <b class="gmail_sendername">
Peter Bengtsson</b> &lt;<a href="mailto:peter@fry-it.com">peter@fry-it.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This will work<br>&lt;a tal:attributes=&quot;href<br>string:${here/folderB/absolute_url_path}/scriptobject?Parameter=$variable&quot;&gt;Text&lt;/a&gt;<br><br><br>On 2/13/06, Ole Johan Tennvassås &lt;<a href="mailto:oj.tennvassaas@gmail.com">
oj.tennvassaas@gmail.com</a>&gt; wrote:<br>&gt; Sorry for late reply - have been away.<br>&gt;<br>&gt; Cant get this to work!&nbsp;&nbsp;I hope I can avoid to use an absolute URL path.<br>&gt; What i want is, as you say, to let the server generate as much of the URL as
<br>&gt; possible. To be more spesific, the zpt whith the calling href (located in<br>&gt; &quot;folderA&quot;) calls a script with a construct&nbsp;&nbsp;like this:<br>&gt; &lt;a tal:attributes=&quot;href<br>&gt; string:folderB/scriptobject?Parameter=$variable&quot;&gt;Text&lt;/a&gt;
<br>&gt; The effect of this is that Zope generates a link to the URL<br>&gt; <a href="http://myserver/application/folderA/folderB/scriptobject?.">http://myserver/application/folderA/folderB/scriptobject?.</a>..<br>&gt; and after this link is used to call the script in folderB, the script calls
<br>&gt; a zpt in folderA again.&nbsp;&nbsp;Now, all links in this zpt gets /folderB added in<br>&gt; their path! If you have some more tips about this, or could point me to some<br>&gt; examples or documentation that could explain to me how this is supposed to
<br>&gt; work, it would be great!<br>&gt;<br>&gt; Regards<br>&gt; Ole<br>&gt; &gt;Instead of writing links like this::<br>&gt; &gt;<br>&gt; &gt; &lt;a href=&quot;folderB/object&quot;&gt;object&lt;/a&gt;<br>&gt; &gt;<br>&gt; &gt;write them like this::
<br>&gt; &gt;<br>&gt; &gt; &lt;a tal:attributes=&quot;href<br>&gt; folderB/object/absolute_url_path&quot;&gt;object&lt;/a&gt;<br>&gt;<br>&gt; &gt;<br>&gt; &gt;I know it's more typing but it will solve all your problems. I always
<br>&gt; &gt;let the server have a part in generating URLs and I never suffer from<br>&gt; &gt;problems like this.<br>&gt;<br>&gt;<br><br><br>--<br>Peter Bengtsson,<br>work <a href="http://www.fry-it.com">www.fry-it.com</a>
<br>home <a href="http://www.peterbe.com">www.peterbe.com</a><br>hobby <a href="http://www.issuetrackerproduct.com">www.issuetrackerproduct.com</a><br></blockquote></div><br>