[xwiki-users] A couple of questions after migrating xwiki from 0.9.840 to 1b3

Vincent Massol vincent at massol.net
Mon Feb 12 16:21:02 CET 2007


Hi JV,

This sounds like something useful. I think we should include this  
panel in the default Wiki. WDYT? If you agree could you create a jira  
issue for this?

Thanks a lot
-Vincent

On Feb 12, 2007, at 4:05 PM, Jean-Vincent Drean wrote:

> 2007/2/12, Vincent Massol <vincent at massol.net>:
>> Hi Jimmy,
>>
>> On Feb 12, 2007, at 12:57 AM, jimmy at comkraft.com 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()
> ---------------------------------


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com




More information about the users mailing list