Re: A Breadcrumb in PyCategories
Joseph Reagle <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | MIT |
| Message-ID | <[email protected]> |
On Friday 08 August 2003 18:58, Wari Wahab wrote: > What ever plugin you are talking about, it is easy to get the data you > need from the Request.getData()[path_info] and calculate what you need > from that variable. So if your request is /foo/bar/spam.html, > data['path_info'] would contain ['foo', 'bar', 'spam.html']. That is > what breadcrumbs should use, but I'm lazy to change that (if breadcrumbs > becomes too popular and people start mocking at how ugly it is :) Ok, still a little lost, from pycategories.py, self._request.getData()["path_info"] is empty. As is import breadcrumbs; breadcrumbs.BreadCrumbs(self._request). ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01