Re: [pyblosxom-users] Questions about categories
Wari Wahab <wari-Yu9E6tdDWSZWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel,gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | Celestix Networks |
| Message-ID | <[email protected]> |
On Thursday 10 July 2003 10:52, Chris Moffitt wrote:
> >> Here's what I'm using for my category link - <a
> >> href="$base_url/$dospath2uri('path')"
> >> title="Category">$dospath2uri('path')</a>] |
> > Ah, yes, $base_url will never change for anything up to the
> > http://host/script_name. What you need is $url, or a combination of
> > $base_url and $pi_bl :)
> I tried to use $pi_bl and I'm not getting anything. For some reason
> the variable doesn't seem to contain a value on my system. Also, $url
> and $base_url are returning the same values. Any ideas?
Just to recap, $pi_bl should be empty if you are on the root of the
document, else it should contain a value if you are at least one level
down. If it's empty, then it's a bug.
Anyone on pyblosxom-devel running on a Windows system can debug this for
me? If not, I'll have a look later to see what happened on Windows, but
I can't say when. data['pi_bl'] is generated on
Pyblosxom.pyblosxom.PyBlosxom.processPathInfo (ugh! :), and if $pi_bl is
empty from the start, I thought most of the stuff will not work anymore
from there?
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps