Is it possible to use the .. like in a directory structure? I.e. as URL giving ..\..\Folder meaning: go two folders up Z ODB and then go in Folder directory. This would come in handy... At ZDP, where using a tree to show partials of ZBook. In this tree we've declared : ............ /guide/introduction/starting/Outline/<!--#var tree-item-url --> ... How can we make this url, less environment dependend? Tom.
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... - Craig -- Craig Allen - Managing Partner - Mutual Alchemy Information Architecture - http://alchemy.nu
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 ------------------------------------------
participants (3)
-
Craig Allen -
Martijn Pieters -
Tom Deprez