[Zope] navigating through Zope

Martijn Pieters mj@antraciet.nl
Thu, 27 May 1999 10:02:55 +0200


At 00:47 27/05/99 , Craig Allen wrote:
>Tom Deprez wrote:
> > ............   /guide/introduction/starting/Outline/<!--#var
> > tree-item-url --> ...
> > How can we make this url, less environment dependend?
>
>How about creating a property called ZBook_base in the Outline folder as a
>string =
>/guide/introduction/starting/Outline/
>and then you can say
><!--#var ZBook_base><!--#var tree-item-url -->
>
>I'm not sure if that's what you're looking for...

I build the tree on ZDP, and I think that is what Tom is looking for. I 
take it he wants to be able to plug it in anywhere

Indeed Tom, because the zb_menu document is included in various diferent 
documents on different levels within ZDP, this is the easiest way of having 
all links in the tree work, I think. Yo could try and see if Outline has a 
absolyte_url() method, and see if that returns the proper URL at all points.

I have no time to check this right now, because this computer is about to 
be packed for the move of our company.

See you all on Monday =)


--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------