Forum:CategoryTree filtered by two categories?

Is it possible to create a CategoryTree that is filtered by two different categories? Such as if there were the categories 'Food' and 'Red', if I could create a CategoryTree that would list pages under both categories, essentially listing all Red Foods. An odd example, but it's what I'm stuck on.

Nerdstick 23:15, February 4, 2012 (UTC)


 * Try using the  tags (DPLforum) like this:

 namespace=main category=Category1 category=Category2 mode=list addlastedit=false addcreationdate=false addlasteditor=false count=50
 * See MediaWikiWiki:Extension:DPLforum for more info. Not totally positive if categories should be separated by comma or space, but you can experiment. -- Fandyllic (talk &middot; contr) 8 Feb 2012 5:18 PM Pacific


 * I had some wrong stuff for the category parameters, but Sovq fixed it. Hopefully it works. -- Fandyllic (talk &middot; contr) 10 Feb 2012 12:57 PM Pacific
 * Offcourse you can do it the hard way like Fandyllic shows, or simply add the category food to red food category to make the food be the top category, the red food being the subcategory (which will also show up like that in the food category).
 * If you happen to have alt sub level categories (like red fruit from tree and red fruit from bushes) simply add the red fruit category to the red fruit from tree as well as the red fruit from bushes category to make it automatically show up as selectable sub categories.


 * On a sidenote: if you want to display that entire content as a categorial tree (or colladogram) in a single page : example 1, example 2, then you will need some extended templates, which i will be happy to help you with.