[Zope] Don't use relative links!

Kapil Thangavelu kthangavelu@earthlink.net
Fri, 18 Aug 2000 13:38:46 -0700


Stuart Foster wrote:


> 
> Where can I find more information on how this is done. I'm not familiar with
> the dtml. notation?
> 

> 
> Chris Withers wrote:
> > so, the above should actually be:
> >
> > <a href="&dtml.url-subfolder/index_html">
> 
> erk :S
> 
> <a href="&dtml.url-subfolder;/index_html">
>                            ^^^

its referred to as the entity syntax of dtml. its mainly for saving
typing in urls. the . syntax is standard attribute access of python. try
a search on zope.org for entity syntax. i believe there is a doc in jim
fulton's members folder that does some explaining, probably a how to as
well.

Kapil