Hi, > On 28 Jul 2016, at 10:54, matmassa <[email protected]> wrote: > > Hi, > > I wish to customize the sibling pages panel in order to get a static root > generic navigation panel usable in my migrated spaces (I used the nested > pages migration tool, I migrated from Xwiki 7.0.1 to 8.2). > I already had a navigation panel but it worked with spaces and now Xwiki > says it is deprecated.
You could use the navigation panel for this, no? > How can I customize the sibling pages panel to do that? Best is not to touch that Pane and to create a new panel instead. > If I change the > documentTree root parameter into velocity script > (root="document:xwiki:foo.WebHome") to point to the first page of the > "space", if I log in with another user that it is not "Admin" username I get > "No pages found". The pages displayed are pages for which the current user has view permissions to, so maybe your pages can only be seen by admins? > I'd like to change the documentTree root to point always to the page root of > the migrated "space", if it is possible avoiding writing the absolute name > but using a variable (or a method) to get the root of nested pages and it > should be visible by every allowed user. Yes it’s possible. Edit the Navigation panel to see how it automatically opens the current space node. Thanks -Vincent > I read the XWiki Velocity Training, it should be also good inserting a > paragraph for things like that, l think it could be very helpful. > Thank you for reply > Regards > > Matteo > > > > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/How-to-customize-sibling-pages-panel-tp7600500.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
