[Zope] context and URLs

Lennart Regebro regebro at gmail.com
Mon Jan 30 04:47:15 EST 2006


On 1/29/06, Peter Bengtsson <peter at fry-it.com> wrote:
> Instead of writing links like this::
>
>  <a href="folderB/object">object</a>
>
> write them like this::
>
>  <a tal:attributes="href folderB/object/absolute_url_path">object</a>

Or, in 99% of the cases, you can simply say

<a href="/folderB/object">object</a>

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope mailing list