$path issue in category links? (a bit long ..)
"pyblosxom" <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <000801c36b5b$677eb920$dc00000a@scott> |
Hi All, I have this rather curious issue with pyblosxom 0.8rc1: Suppose I'm at the root of my site (http://u7.dk/ - it's in danish, so most of you'll probably understand close to nothing of it :o). story.html includes a category link as follows: <a href="$base_url/$path" title="Category">$path</a> Suppose I look at the 'Roadmap og Milestones for u7.dk' entry from the root of the site: Expected category link: <a href="http://u7.dk:8088/blog/teknisk" title="Category">teknisk</a> Actual category link: <a href="http://u7.dk:8088/blog/teknisk" title="Category">teknisk</a> Observation: $path is not empty, nor is $base_url. Observation: When checking entries from the root of the site, all entries have correct paths. Black box hypothesis: The expected behavior is to replace $base_url/$path correctly at the root of my site. Now, suppose I enter the 'teknisk' level in the category hierarchy and reexamine the link: Expected (black box) category link: <a href="http://u7.dk:8088/blog/teknisk" title="Category">teknisk</a> Actual category link: <a href="http://u7.dk:8088/blog/" title="Category"></a> Observation: the $path variable is empty. Conclusion: 'Something went wrong'(tm) - the $path variable is empty. My question then becomes: Why does the $path variable become empty? For another example, try taking a look at http://u7.dk:8088/reflektioner/ and consider the category link of the first post 'Et læseprojekt: <a href="http://u7.dk:8088/blog//laesehesten" title="Category">/laesehesten</a> Now, since unfortunately I'm not the brightest candle on the christmas tree, perhaps one of Santa's little helpers could enlighten me as to what is happening here? Kind regards, Rune ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0