I guess the tree tag will do it, I am not to sure. I just wanted to
categorized my articles (or any content in general), display articles
according to the category they belong.

Curtney

----- Original Message ----- 
From: "Kees Jongenburger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 03, 2004 12:53 AM
Subject: Re: Search and/or display sub categories of a category, etc.


> > <relation from="category" to="category" type="posrel" />
> >I know that I can use "relatednodes" to get the subcategories of a
> category, however, how >do I get that subcategory's categories, and
> etc?
> >
> >I know, I have been asking a lot of questions of late, bear with me.
> Your replies are greatly >appreciated.
> Hi, the standard MMBase object/relation model is not very well suited
> to store tree type structures. If you want to store tree structures I
> would advice to include the "pos, parent (and maybe treeid" field in
> the category node so that it's possible to retrieve the categories in
> in one database query (with a bit of sorting)
>
>
> there is a tree tag
>
http://www.mmbase.org/development/api/1.7/org/mmbase/bridge/jsp/taglib/tree/TreeTag.html
> if that is enough you are lucky :)
>
> there is the example of mmbase (not very nice code, but does the work,
> I can say that because I wrote it..)
>
>
http://michiel.mmbase.net/cgi-bin/viewcvs.cgi/mmbase.org/mmweb/includes/nav.jsp?rev=1.9&view=markup
>
>



Reply via email to