(Fri, Feb 17, 2006 at 11:12:31AM -0800) Rich Trott wrote/schrieb/egrapse:
> It seems to me that in COREBlog 1.2.4, subcategories can be entered and are
> stored for entries, but they aren't actually used anywhere.  Am I wrong
> about this?

Hi Rich, 

you are right, though most people would like to see them only from the
category listing links.

> I'd like to modify get_entry_in_category in my COREBlog.py such that it
> takes an additional argument called consider_subcategories.  It would
> default to 0 (for backwards compatibility) if it wasn't present.  If set to
> 0, then the current behavior (only consider the main category and not the
> subcategories when determining whether to return an entry or not) is what
> you'd get.  If set to 1, then it would also return entries that had the
> category you're looking for as a subcategory.

Have you seen my patch at http://betabug.ch/blogs/ch-athens/167 ? I
don't do any optional parameters for backwards compatibility, but the
result is the "1" behaviour you describe.

> Is there a reason I should not do this?

The numbers behind the categories are "off". It might not be what people
expect (though I doubt that, CORBlog hasn't that big a userbase yet).

Regards,

Sascha

_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to