Re: Setting depth with the flav_config plugin
Stuart Langridge <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
will guaraldi wrote: > If the entry list is empty, we consider that like a "404" kind of thing: > the user is requesting to see things that don't exist. I'm not sure why > you'd want to modify that behavior. Ah, that doesn't operate well with depth settings that aren't zero. Imagine a site with categories: weblogging_systems (with no posts) weblogging_systems/pyblosxom (with 2 posts) weblogging_systems/movable_type (with 3 posts) With depth set to 0 (or anything greater than 1) visiting http://site/pyblosxom/weblogging_systems will show 5 posts: no problem. However, for my photo gallery, I don't want every photo in a subcategory to show up in higher level categories. So, in the example above, http://site/pyblosxom/weblogging_systems should say "no posts in this category: there are the following subcategories; drill down further". That's not quite the same thing as a 404, which is "there's nothing here at all"; that would be misleading to users, I think. So what I'd like to do is override the 404, and I don't think there's an easy way to do that... sil ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/