[Zope] NFGnav

Olaf Marc Zanger olaf.zanger@soli-con.com
Sun, 8 Apr 2001 14:24:13 +0200


hi there,

i have NFGnav 0.6 (with update to 0.7.1) in use for a website that i want to 
access through

http://www.website.org/zope (through PCGI and apache rewrite)

and at the same time through

http://www.provider.ch:8180/ (through 

the method navbar_dtml uses <a href="<dtml-var itemURL>">

<dtml-with navbar>
<dtml-in navItems sort=id>
  <dtml-if "inPath(REQUEST)">
    <td bgcolor="#F9F344" align=center nowrap>
    <a href="<dtml-var itemURL>">
    <font color="black"><b><dtml-var title></b></font></a>
    </td>
  <dtml-else>
    <td align=center nowrap>
    <a href="<dtml-var itemURL>">    
    <font color="white"><b><dtml-var title></b></font></a>  
    </td>
  </dtml-if>
</dtml-in>
</dtml-with>


unfortunately if i have a path in the BasePath-Property e.g. "/reports" it 
will overwrite the "/zope" part.

if i don't have the path in BasePath-Property it will add up like 
http://www.website.org/zope/report/reports/reports

on further clicks to these items.

what do i do wrong?

is there any way to use <dtml-var URL2> or so??

thanks for help

olaf


-- 
soli-con Engineering Zanger, Dipl.-Ing. (FH) Olaf Marc Zanger
Lorrainestrasse 23, 3013 Bern / Switzerland
fon:+41-31-332 9782, mob:+41-76-572 9782
mailto:olaf.zanger@soli-con.com, http://www.soli-con.com