[ZDP] Please review the draft of NavBar docs...

Martijn Pieters mj@antraciet.nl
Fri, 11 Jun 1999 12:34:03 +0200

At 19:30 10-6-99 , Jules Allen wrote:
>Please fire up your browsers and point them to
>   http://zdp.zope.org/test/jules/navbar_howto_html
>Comments, flames, rehashes, and additions are welcome!

You claim:
If you are running Zope with Apache or IIS, your site's Zope path may well
start with /Zope for all Zope generated URLs. If that's the case, you'll
need to prefix the second column with the path to Zope to make the navbar work.

This is not needed when the hyperlink is prepended by <!--#var SCRIPT_NAME-->.

So line 11 should read:
<a href="<!--#var SCRIPT_NAME-->/"><font color="#ffcc00">

and line 28 should read:
<a href="<!--#var SCRIPT_NAME--><!--#var link-->">

As ZDP is rooted at the domain level, this was never needed on the ZDP site.

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