Hi,
On 5 Jan 2016 at 10:09:27, KirbY ZhoU (kirbyzhou@gmail.com(mailto:kirbyzhou@gmail.com))
wrote:
Sorry for reply so later, I have taken a vacation for
days.
Hope you had some nice holidays! :)
Actually, I modified Dashboard.WebHome after upgrade,
and use {{spaces}} macro which comes from 7.3 release.
Now I replace {{spaces}} with {{documentTree}}, but I have some little problem.
1. I want to avoid "xxx more", but limit=100 do not work.
2. I want to limit the tree level, but I have no idea.
All documentation for the tree macro can be found at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro
AFAIK there’s currently no way to configure how many items to display before “xxx more”
appears. @Marius: is that correct? It seems it would be useful to have this in the future
if that’s the case. WDYT? Do we have a jira issue about it already?
I’m not sure what’s your use case for point 2. I guess you mean limit the hierarchy but it
seems it would prevent users from navigating correctly so I’m not sure what’s the use
case.
Thanks
-Vincent
发件人: Vincent Massol 代表
"vincent@massol.net(mailto:vincent@massol.net)"
日期: 2015年12月23日 星期三 下午7:35
至: KirbY ZhoU , XWiki Users
主题: Re: [xwiki-users] How to avoid nested space?
Hi,
The default dashboard is located in Dashboard.WebHome. When you upgraded you should have
had the Distribution Wizard upgrade that page. Was that the case? Could you check the
history for that page?
Now two things could have happened:
1) you overwrote the changes brought by the Distribution Wizard by importing old versions
of pages from your previous wiki. If you’ve done that then you’ve most likely broken the
upgrade process since you’ve removed all the upgrades that were required to all default
wiki pages! :) See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade for the
canonical way of upgrading an XWiki instance. If you’ve done that I suggest that you redo
the upgrade.
2) you have modified Dashboard.WebHome. If this is the case then you’ll need to update
your version to use the {{documentTree}} macro instead of the spaces macro.
As I’ve mentioned already in my reply the notion of Spaces have been removed from the UI
(I’ve linked you to some page with the explanation, have you been able to read that page?
was it clear? should we improve things there with more explanations?).
Thanks
Hope it helps,
-Vincent
On 23 Dec 2015 at 12:19:45, KirbY ZhoU (kirbyzhou@gmail.com(mailto:kirbyzhou@gmail.com))
wrote:
> I belived that I have use the space widget version 7.3.
> I created a new Xwiki-7.3, and then import the old spaces one by one, excluding
'Main', 'XWiki' and all spaces coming with Xwiki default pages.
>
> I just want to get a simple space list.
>
>
>
> 发件人: Vincent Massol 代表 "vincent@massol.net(mailto:vincent@massol.net)"
> 日期: 2015年12月23日 星期三 上午4:41
> 至: XWiki Users
> 抄送: KirbY ZhoU
> 主题: Re: [xwiki-users] How to avoid nested space?
>
> Hi KirbY,
> On 22 Dec 2015 at 21:27:47, KirbY ZhoU
(kirbyzhou@gmail.com(mailto:kirbyzhou@gmail.com)(mailto:kirbyzhou@gmail.com)) wrote:
>
> > How to avoid nested space?
> >
> > Since the new nested space feature, a lot of nested space such as
"XXX.YYY" appears in the "Space List" in my home page.
> > If I want to create a sub page, a new nested space created silently. It becomes
more and more, and bothers our users.
> >
> > I want keep the original simple one level space and documents tree model
instead of the new nested space model. How can I get it?
>
> The issue is that you haven’t upgraded your home page (the dashboard I presume). We
have replaced the Space widget with a Documents widget. Normally, when you have upgrade
you should have had the Distribution Wizard kicking in and updating the default wiki
pages. Please let us know what you’ve done when the Distribution Wizard has executed.
>
> The notion of Spaces has been removed starting with XWiki 7.2+
>
> Please see
http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization
>
> The introduction of Nested Spaces is a large change and we wish to make it as
seamless as possible to our users. Please let us know any issue you see and we’ll try to
help you and see if we can improve things by default so that other users have less
problems upgrading.
>
> Thanks for your help and patience.
> -Vincent
>