[Zope-dev] Re: [Zope] Odd results of '../index_html' in Zope2(cvs)
Bill Anderson
bill.anderson@libc.org
Fri, 02 Jul 1999 22:19:32 -0600
michel@digicool.com wrote:
>
> Bill Anderson <bill.anderson@libc.org> writes:
>
> > Ok, trying to make a 'move up one level' link, to allow the user to move
> > back up the url tree one level.
> >
> > Thus, if user is in "/Members/ucntcme/Projects" and click on the link,
> > they should be looking at "/Members/ucntcme/index_html" page.
> > Unfortunately, it seems to be going up *two* levels, and seeing
> > "/Members/index_html".
> >
> > Any ideas on why?
> >
>
> Hmmmmmmmmmmm.
>
> Have your tried '<!--#var URL2-->/index_html'?
>
> -Michel
>
> PS: The .. should work, however, note that /x/y/../z may look like
> /x/z it is really /x/y/../z, meaning that the 'path of aquisition' still
> goes through y before it gets to x. This could be fouling you.
Well, I *think* I found the issue. I was adding this link to the bottom
of a tree structure, and it appears it was taking it's ,,/ from the
tree's base of PARENT[0]. So, just for grins, I changed the Tree's base
to PARENTS[-1], and it seems to be working now.
I will examine this further...