[xwiki-dev] Category (and hierarchical category).

Vincent Massol vincent at massol.net
Wed May 9 09:42:43 CEST 2007


Hi phl,

Yes this is fully implemented in xwiki and it's actually one of  
xwiki's strengths.

You have 2 possibilites to implement it depending on whether you want  
form editing to enter new data or not:

* if you do then you should implement something as described in the  
FAQ tutorial:
   http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial

* if not, then you can simply tag your pages
   (see http://www.xwiki.org/xwiki/bin/view/UserGuide/Tags) and the  
query tags in the page where you want to list them using a HSQL query
   (see http://www.xwiki.org/xwiki/bin/view/UserGuide/Programming and  
check the code zone for lots of examples on that).

Thanks
-Vincent

On May 7, 2007, at 4:28 PM, phl wrote:

>
> Hello,
>
> 1) I have not yet understand what is a category in xWiki and how to  
> fill it
> (I succeed to create mine, but I can't put anything into it).
>
> 2) In fact, I looking for a category as mediawiki.
>
> For instance, my xwiki is a presentation of books. So when I see  
> the book
> main page, I will have the text and the list of the subcategories  
> (book of
> mathematics, book of physics, ...).
>
> When I add a new sub category (like books on computer sciences), I  
> would
> like that it will be automatically add to the  book main page. And  
> I will
> also that this page shows to the user the subcategory like :  
> documentation
> about compiler, and documentation about wiki.
>
> And in the page about wiki, I would like to have a list of  
> hyperlink to page
> that describes mediawiki, xwiki, .....
>
> Are this kind of mechanism fully , partilly coded into xwiki ? If  
> not how to
> code it ?
>
> Thanks,
> PHL.
> -- 
> View this message in context: http://www.nabble.com/Category-%28and- 
> hierarchical-category%29.-tf3704021.html#a10358295
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
>
>
>
> --
> You receive this message as a subscriber of the xwiki- 
> dev at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws





More information about the devs mailing list