2007/2/12, Vincent Massol <[email protected]>:
Hi Jimmy,
On Feb 12, 2007, at 12:57 AM, [email protected] wrote:
2. My previous pages are categorized in 0.9.840 in 15 categories. I could navigate to the pages from the category list. Now all my pages are displayed in the Main space without categorization. Is there a way to get back the categorization for each pages? I noticed there are a couple of predefined categories in the Blog space.
I don't have an answer for this. Maybe others know?
I assume you are talking about blog posts, to see the categories again you'll have to create a panel (/xwik/bin/view/Panels/) containing this code : --------------------------------- #panelheader('Blog') #set($blogcatdoc = $xwiki.getDocument("Blog.Categories")) #if($xwiki.hasAdminRights()) <font size="-2">(<a href="$blogcatdoc.getURL("inline")">Editer les Categories</a>)</font> #end #set($catdoc = $xwiki.getDocument("Blog.Categories")) #foreach($catobj in $catdoc.getObjects("Blog.Categories")) #set($catname = $catdoc.display("name","view",$catobj)) #if($catname!="") * [${catname}>Blog.Category?category=${catname}] #end #end #panelfooter() ---------------------------------