Re: [xwiki-users] panels on left in edit mode
Hi Wayne, See the editpanelsvars.vm Velocity template (from the templates folder in the WAR). You can overwrite it in the skin. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins#HD.OverridingtheSkincomponents . Hope this helps, Marius On Fri, May 9, 2014 at 12:26 AM, Wayne Dirks bwaindw...@gmail.com wrote: I'm getting started with XWiki and want to move the panels to the left instead of the right. I can do this easily from the Administer Wiki Panel Wizard Page Layout select left column. I've added the spaces panel and my recent edits panel. This works fine for most almost all pages. But when I'm in edit mode, the left panels disappear and some panels appear on the right (syntax xwiki help). I think the panels are great for site navigation but it's not very helpful when they disappear. How can I customize the panels while in edit mode? Thanks, Wayne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] panels on left in edit mode
I'm getting started with XWiki and want to move the panels to the left instead of the right. I can do this easily from the Administer Wiki Panel Wizard Page Layout select left column. I've added the spaces panel and my recent edits panel. This works fine for most almost all pages. But when I'm in edit mode, the left panels disappear and some panels appear on the right (syntax xwiki help). I think the panels are great for site navigation but it's not very helpful when they disappear. How can I customize the panels while in edit mode? Thanks, Wayne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Panels collapse
Hi, We use the standard Colibri Skin with usually a Left and Side pane for panels. Most of our panels are for navigation only. (80%) So the question is: Can I make the default behavior of a panel be that it is collapsed, I want that after a click (and new content is loaded) that the panel is automatically collapsing again (Like a drop down menu) You click on the collapsed panel It opens and shows the navigation links The user selects one. The webpage is loaded and if the panel is also on that page it is automatically collapsed again I do not want cookies (or something else) that remembers the state and keeps the panel open. So a simple piece of code that I can add to the panel to get the behavior? A better version would be to link it to the default user attribute: User type So if user-type is simple automatically collapse if user type is advanced; keep the panels open for faster navigation. A even better would be to link it to the panel attribute Type and category something like: If Panel-type is View and Panel-category is navigation. Then automatically collapse without state memory) Our goal is to dramatically reduce screen clutter. For the roadmap of XWiki i would ask if it is possible to add something about collapsing behavior in either the panel definition or in the preferences of Site and/or space to define the desired behavior of panels? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels only shown to administrators
Hi Arne, I hope you're happy about XWiki. For the record, XWiki SAS, the company behind the Open Source software, offers enterprise support: http://www.xwiki.com/xwiki/bin/view/Offer/Support This would provide you with a guaranteed response time when meeting issues or questions while using our software. Please do let me know if that's something you could be interested in. Wishing you a nice day, Guillaume On Thu, Jul 12, 2012 at 8:12 AM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Thanks! I had set the view rights on for two users and left the rest blank. I thought that it would have no effect because they were not blocked either, but it did. Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea Sent: 12 Jul 2012 8:06 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Check the (view) rights set for the Panels space and the documents within it (most of the panels are documents inside the Panels space). Hope this helps, Marius On Wed, Jul 11, 2012 at 1:09 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi, Thanks for the reply. I've set the panels up in the global administration page Page Elements and haven't set any space specific panel options. The code for the quick link panel is below and except for the edit this panel option I don't see anything that is hidden for normal users? {{velocity}} #panelheader($msg.get('xe.panels.quicklinks')) * [[$msg.get('xe.panels.quicklinks.dashboard')Dashboard.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for wiki updates class=icon rss]]path:${xwiki.getURL('Main.WebRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.index')Main.AllDocs]] * [[$msg.get('xe.panels.quicklinks.userdirectory')Main.UserDirectory]] * [[$msg.get('xe.panels.quicklinks.blog')Blog.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for blog posts class=icon rss]]path:${xwiki.getURL('Blog.GlobalBlogRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.sandbox')Sandbox.WebHome]] * [[$msg.get('Documentation')Documentation.WebHome]] * [[$msg.get('Calendar')Main.EventCalendar]] #if ($xwiki.hasAdminRights()) [[$msg.get('xe.panels.edit')path:${xwiki.getURL('Panels.QuickLinks', 'inline')}]] #end #panelfooter() {{/velocity}} Thanks, Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru (Valica) Sent: 11 Jul 2012 11:57 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Hi, http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application# HControllingwheretodisplayPanels Maybe you just configured them for a specific space, or maybe in the logic of the panel there is a restriction just for admins? Thanks, Caty On Tue, Jul 10, 2012 at 3:33 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi all, I've been asked by my company to set up a XWiki to share documentation between different groups. So far it's been going pretty well, but I seem to have a problem with the panel sidebars. When logged in as administrator everything shows up as it should: on the left a navigation panel and on the right the standard quick links and recent modifications panels. If I change however to a normal user the panels aren't shown, only the blank spaces where they should be. I expect it to be some issue with group or user rights I, perhaps, changed, but I have no idea where to find it. And I can't seem to find any documentation over which groups can see which panels? Thanks in advance, Arne Pannecoucque ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Sales - XWiki SAS Skype: wikibc Office: +33 1 45 42 40 90 Mobile: +33 6 10 79 76 70 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels only shown to administrators
Hi Guillaume, On Jul 16, 2012, at 5:21 PM, Guillaume Lerouge wrote: Hi Arne, I hope you're happy about XWiki. For the record, XWiki SAS, the company behind the Open Source software I don't want to nitpick but some other committers here may take offense… :) Not the company but one company… (we have 3 now, see http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport ). You could also say The Company which initially created the XWiki open source project through Ludovic Dubost ;) Thanks -Vincent, trying to offer an egalitarian ground for all companies doing business around the XWiki open source project , offers enterprise support: http://www.xwiki.com/xwiki/bin/view/Offer/Support This would provide you with a guaranteed response time when meeting issues or questions while using our software. Please do let me know if that's something you could be interested in. Wishing you a nice day, Guillaume On Thu, Jul 12, 2012 at 8:12 AM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Thanks! I had set the view rights on for two users and left the rest blank. I thought that it would have no effect because they were not blocked either, but it did. Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea Sent: 12 Jul 2012 8:06 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Check the (view) rights set for the Panels space and the documents within it (most of the panels are documents inside the Panels space). Hope this helps, Marius On Wed, Jul 11, 2012 at 1:09 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi, Thanks for the reply. I've set the panels up in the global administration page Page Elements and haven't set any space specific panel options. The code for the quick link panel is below and except for the edit this panel option I don't see anything that is hidden for normal users? {{velocity}} #panelheader($msg.get('xe.panels.quicklinks')) * [[$msg.get('xe.panels.quicklinks.dashboard')Dashboard.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for wiki updates class=icon rss]]path:${xwiki.getURL('Main.WebRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.index')Main.AllDocs]] * [[$msg.get('xe.panels.quicklinks.userdirectory')Main.UserDirectory]] * [[$msg.get('xe.panels.quicklinks.blog')Blog.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for blog posts class=icon rss]]path:${xwiki.getURL('Blog.GlobalBlogRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.sandbox')Sandbox.WebHome]] * [[$msg.get('Documentation')Documentation.WebHome]] * [[$msg.get('Calendar')Main.EventCalendar]] #if ($xwiki.hasAdminRights()) [[$msg.get('xe.panels.edit')path:${xwiki.getURL('Panels.QuickLinks', 'inline')}]] #end #panelfooter() {{/velocity}} Thanks, Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru (Valica) Sent: 11 Jul 2012 11:57 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Hi, http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application# HControllingwheretodisplayPanels Maybe you just configured them for a specific space, or maybe in the logic of the panel there is a restriction just for admins? Thanks, Caty On Tue, Jul 10, 2012 at 3:33 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi all, I've been asked by my company to set up a XWiki to share documentation between different groups. So far it's been going pretty well, but I seem to have a problem with the panel sidebars. When logged in as administrator everything shows up as it should: on the left a navigation panel and on the right the standard quick links and recent modifications panels. If I change however to a normal user the panels aren't shown, only the blank spaces where they should be. I expect it to be some issue with group or user rights I, perhaps, changed, but I have no idea where to find it. And I can't seem to find any documentation over which groups can see which panels? Thanks in advance, Arne Pannecoucque ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels only shown to administrators
My bad, this was supposed to be a direct email. Sorry for the noise and the (shameless!) plug. Guillaume On Mon, Jul 16, 2012 at 5:21 PM, Guillaume Lerouge guilla...@xwiki.comwrote: Hi Arne, I hope you're happy about XWiki. For the record, XWiki SAS, the company behind the Open Source software, offers enterprise support: http://www.xwiki.com/xwiki/bin/view/Offer/Support This would provide you with a guaranteed response time when meeting issues or questions while using our software. Please do let me know if that's something you could be interested in. Wishing you a nice day, Guillaume On Thu, Jul 12, 2012 at 8:12 AM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Thanks! I had set the view rights on for two users and left the rest blank. I thought that it would have no effect because they were not blocked either, but it did. Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea Sent: 12 Jul 2012 8:06 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Check the (view) rights set for the Panels space and the documents within it (most of the panels are documents inside the Panels space). Hope this helps, Marius On Wed, Jul 11, 2012 at 1:09 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi, Thanks for the reply. I've set the panels up in the global administration page Page Elements and haven't set any space specific panel options. The code for the quick link panel is below and except for the edit this panel option I don't see anything that is hidden for normal users? {{velocity}} #panelheader($msg.get('xe.panels.quicklinks')) * [[$msg.get('xe.panels.quicklinks.dashboard')Dashboard.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for wiki updates class=icon rss]]path:${xwiki.getURL('Main.WebRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.index')Main.AllDocs]] * [[$msg.get('xe.panels.quicklinks.userdirectory')Main.UserDirectory]] * [[$msg.get('xe.panels.quicklinks.blog')Blog.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for blog posts class=icon rss]]path:${xwiki.getURL('Blog.GlobalBlogRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.sandbox')Sandbox.WebHome]] * [[$msg.get('Documentation')Documentation.WebHome]] * [[$msg.get('Calendar')Main.EventCalendar]] #if ($xwiki.hasAdminRights()) [[$msg.get('xe.panels.edit')path:${xwiki.getURL('Panels.QuickLinks', 'inline')}]] #end #panelfooter() {{/velocity}} Thanks, Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru (Valica) Sent: 11 Jul 2012 11:57 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Hi, http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application# HControllingwheretodisplayPanels Maybe you just configured them for a specific space, or maybe in the logic of the panel there is a restriction just for admins? Thanks, Caty On Tue, Jul 10, 2012 at 3:33 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi all, I've been asked by my company to set up a XWiki to share documentation between different groups. So far it's been going pretty well, but I seem to have a problem with the panel sidebars. When logged in as administrator everything shows up as it should: on the left a navigation panel and on the right the standard quick links and recent modifications panels. If I change however to a normal user the panels aren't shown, only the blank spaces where they should be. I expect it to be some issue with group or user rights I, perhaps, changed, but I have no idea where to find it. And I can't seem to find any documentation over which groups can see which panels? Thanks in advance, Arne Pannecoucque ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels only shown to administrators
Check the (view) rights set for the Panels space and the documents within it (most of the panels are documents inside the Panels space). Hope this helps, Marius On Wed, Jul 11, 2012 at 1:09 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi, Thanks for the reply. I've set the panels up in the global administration page Page Elements and haven't set any space specific panel options. The code for the quick link panel is below and except for the edit this panel option I don't see anything that is hidden for normal users? {{velocity}} #panelheader($msg.get('xe.panels.quicklinks')) * [[$msg.get('xe.panels.quicklinks.dashboard')Dashboard.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for wiki updates class=icon rss]]path:${xwiki.getURL('Main.WebRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.index')Main.AllDocs]] * [[$msg.get('xe.panels.quicklinks.userdirectory')Main.UserDirectory]] * [[$msg.get('xe.panels.quicklinks.blog')Blog.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for blog posts class=icon rss]]path:${xwiki.getURL('Blog.GlobalBlogRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.sandbox')Sandbox.WebHome]] * [[$msg.get('Documentation')Documentation.WebHome]] * [[$msg.get('Calendar')Main.EventCalendar]] #if ($xwiki.hasAdminRights()) [[$msg.get('xe.panels.edit')path:${xwiki.getURL('Panels.QuickLinks', 'inline')}]] #end #panelfooter() {{/velocity}} Thanks, Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru (Valica) Sent: 11 Jul 2012 11:57 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Hi, http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application# HControllingwheretodisplayPanels Maybe you just configured them for a specific space, or maybe in the logic of the panel there is a restriction just for admins? Thanks, Caty On Tue, Jul 10, 2012 at 3:33 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi all, I've been asked by my company to set up a XWiki to share documentation between different groups. So far it's been going pretty well, but I seem to have a problem with the panel sidebars. When logged in as administrator everything shows up as it should: on the left a navigation panel and on the right the standard quick links and recent modifications panels. If I change however to a normal user the panels aren't shown, only the blank spaces where they should be. I expect it to be some issue with group or user rights I, perhaps, changed, but I have no idea where to find it. And I can't seem to find any documentation over which groups can see which panels? Thanks in advance, Arne Pannecoucque ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels only shown to administrators
Thanks! I had set the view rights on for two users and left the rest blank. I thought that it would have no effect because they were not blocked either, but it did. Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea Sent: 12 Jul 2012 8:06 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Check the (view) rights set for the Panels space and the documents within it (most of the panels are documents inside the Panels space). Hope this helps, Marius On Wed, Jul 11, 2012 at 1:09 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi, Thanks for the reply. I've set the panels up in the global administration page Page Elements and haven't set any space specific panel options. The code for the quick link panel is below and except for the edit this panel option I don't see anything that is hidden for normal users? {{velocity}} #panelheader($msg.get('xe.panels.quicklinks')) * [[$msg.get('xe.panels.quicklinks.dashboard')Dashboard.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for wiki updates class=icon rss]]path:${xwiki.getURL('Main.WebRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.index')Main.AllDocs]] * [[$msg.get('xe.panels.quicklinks.userdirectory')Main.UserDirectory]] * [[$msg.get('xe.panels.quicklinks.blog')Blog.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for blog posts class=icon rss]]path:${xwiki.getURL('Blog.GlobalBlogRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.sandbox')Sandbox.WebHome]] * [[$msg.get('Documentation')Documentation.WebHome]] * [[$msg.get('Calendar')Main.EventCalendar]] #if ($xwiki.hasAdminRights()) [[$msg.get('xe.panels.edit')path:${xwiki.getURL('Panels.QuickLinks', 'inline')}]] #end #panelfooter() {{/velocity}} Thanks, Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru (Valica) Sent: 11 Jul 2012 11:57 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Hi, http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application# HControllingwheretodisplayPanels Maybe you just configured them for a specific space, or maybe in the logic of the panel there is a restriction just for admins? Thanks, Caty On Tue, Jul 10, 2012 at 3:33 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi all, I've been asked by my company to set up a XWiki to share documentation between different groups. So far it's been going pretty well, but I seem to have a problem with the panel sidebars. When logged in as administrator everything shows up as it should: on the left a navigation panel and on the right the standard quick links and recent modifications panels. If I change however to a normal user the panels aren't shown, only the blank spaces where they should be. I expect it to be some issue with group or user rights I, perhaps, changed, but I have no idea where to find it. And I can't seem to find any documentation over which groups can see which panels? Thanks in advance, Arne Pannecoucque ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels only shown to administrators
Hi, http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application#HControllingwheretodisplayPanels Maybe you just configured them for a specific space, or maybe in the logic of the panel there is a restriction just for admins? Thanks, Caty On Tue, Jul 10, 2012 at 3:33 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi all, I've been asked by my company to set up a XWiki to share documentation between different groups. So far it's been going pretty well, but I seem to have a problem with the panel sidebars. When logged in as administrator everything shows up as it should: on the left a navigation panel and on the right the standard quick links and recent modifications panels. If I change however to a normal user the panels aren't shown, only the blank spaces where they should be. I expect it to be some issue with group or user rights I, perhaps, changed, but I have no idea where to find it. And I can't seem to find any documentation over which groups can see which panels? Thanks in advance, Arne Pannecoucque ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels only shown to administrators
Hi, Thanks for the reply. I've set the panels up in the global administration page Page Elements and haven't set any space specific panel options. The code for the quick link panel is below and except for the edit this panel option I don't see anything that is hidden for normal users? {{velocity}} #panelheader($msg.get('xe.panels.quicklinks')) * [[$msg.get('xe.panels.quicklinks.dashboard')Dashboard.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for wiki updates class=icon rss]]path:${xwiki.getURL('Main.WebRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.index')Main.AllDocs]] * [[$msg.get('xe.panels.quicklinks.userdirectory')Main.UserDirectory]] * [[$msg.get('xe.panels.quicklinks.blog')Blog.WebHome]] image:path:$xwiki.getSkinFile('icons/xwiki/rss-medium.png')||alt=(R SS) title=RSS feed for blog posts class=icon rss]]path:${xwiki.getURL('Blog.GlobalBlogRss', 'view', 'xpage=plain')}]] * [[$msg.get('xe.panels.quicklinks.sandbox')Sandbox.WebHome]] * [[$msg.get('Documentation')Documentation.WebHome]] * [[$msg.get('Calendar')Main.EventCalendar]] #if ($xwiki.hasAdminRights()) [[$msg.get('xe.panels.edit')path:${xwiki.getURL('Panels.QuickLinks', 'inline')}]] #end #panelfooter() {{/velocity}} Thanks, Arne Pannecoucque -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru (Valica) Sent: 11 Jul 2012 11:57 To: XWiki Users Subject: Re: [xwiki-users] Panels only shown to administrators Hi, http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application# HControllingwheretodisplayPanels Maybe you just configured them for a specific space, or maybe in the logic of the panel there is a restriction just for admins? Thanks, Caty On Tue, Jul 10, 2012 at 3:33 PM, Pannecoucque, Arne a.pannecouc...@connectgroup.com wrote: Hi all, I've been asked by my company to set up a XWiki to share documentation between different groups. So far it's been going pretty well, but I seem to have a problem with the panel sidebars. When logged in as administrator everything shows up as it should: on the left a navigation panel and on the right the standard quick links and recent modifications panels. If I change however to a normal user the panels aren't shown, only the blank spaces where they should be. I expect it to be some issue with group or user rights I, perhaps, changed, but I have no idea where to find it. And I can't seem to find any documentation over which groups can see which panels? Thanks in advance, Arne Pannecoucque ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels backward compatibility
On 06/13/2012 06:09 PM, Sergiu Dumitriu wrote: On 06/13/2012 09:17 AM, Vincent Massol wrote: On Jun 13, 2012, at 2:52 PM, Anca Luca wrote: On 06/13/2012 02:44 PM, Vincent Massol wrote: On Jun 13, 2012, at 2:39 PM, Anca Luca wrote: On 06/13/2012 01:52 PM, Raluca Stavro wrote: Hi, On Wed, Jun 13, 2012 at 2:15 PM, Vincent Massolvinc...@massol.net wrote: On Jun 13, 2012, at 12:44 PM, Raluca Stavro wrote: I'm resending this mail by using the right subject pattern. Hello, I am trying to upgrade an old XEM to 3.5.1. In this XEM there are some custom panels which have been converted to 2.0 syntax and contain code like this: {{velocity}} {{html}} #panelheader(...) ... #panelfooter() {{/html}} {{/velocity}} Do the panels really need the {{html}} wrapper? If no, then you must remove it. If yes, then you should consider rewriting them using wiki syntax only, then remove the {{html}} wrapper. If you can't do that, then just move the wrapper inside the panelheader/footer. You can do that automatically with a script. Because since 2.7.2 panel macros were converted to 2.0 syntax, because panel macros from inside macros.vm were modified by calling {{html}} wiki macro and because we can't use nested {{html}} macros without wiki=true parameter, I don't know how to fix this issue besides modifying panel code. I don't understand this. Are you saying that in macros.vm #panelheader uses {{html}}? That's not true, the panelheader/footer macros only use wiki syntax, not {{html}}. The problem isn't that nested {{html}} macros don't work, but that wiki syntax doesn't work in {{html}} without wiki=true. This XEM has more than 70 wikis and this I can't just modify all custom (converted to 2.0 syntax) panels manually. Is there a nice solution to this problem ? Idea 1: == Add a new #panelheaderold macro in macros.vm and replace all calls of #panelheader to #panelheaderold in your panels (easy to do with a XWQL query and 3 lines of scripts). Slowy migrate panels to new syntax. Note: = Actually in the future we need to add a new {{panel}} macro, something like: {{panel style=.. title=…}} … content here … {{/panel}} Idea 2: == Create a custom Panel wiki macro (give it a name other than panel!), search for: {{velocity}}{{html}}#panelheader….#panelfooter{{/html}}{{/velocity}} (use a regex) Replace with your panel macro. Should I open an issue on Jira ? Nope So this means that none of the macros in macros.vm are API? Which means that there is no API to make a panel header consistent with the panel headers of the default panels? Good point. Macros in macros.vm are supposed to be APIs and it means we broke the backward compatibility at some point in the past (2.7 as suggested by Raluca). The macros still work for both xwiki/1.0 and xwiki/2.x panels. What doesn't work is putting the whole panel content inside a {{html}} block, without any wiki parsing. The problem was that there was a misunderstanding of the macros behavior. The macros were supposed to work well in wiki syntax. Initially, that meant the only xwiki syntax, which did mix HTML with the rest of the wiki and velocity syntax. When new wiki syntaxes were introduced and the macros were updated, the behavior remained the same: the #panelheader/footer macros work well in both xwiki/1.0 and xwiki/2.x syntaxes. But pure HTML isn't really a wiki syntax. The fact that for a few releases the macros worked in pure HTML embedded in an xwiki/2.0 document, but not directly in a xwiki/2.0 document, was a bug, not a contract. Unfortunately some developers did rely on this bug. I wouldn't call it a bug, because if we do so, then we can argue that it's a bug that has been there for at least one major cycle, and that macros.vm is still not stable according to http://jira.xwiki.org/browse/XWIKI-6062 so we might still have bugs about it (and that is for about 2.5 major cycles, which is a bit too much from my point of view). What I would say about this is that apparently we don't know / have a convention about how should the macros in macros.vm be used: with syntax interpreted or not, in an html macro or not. This is where the confusion comes from: while the old panelheader macro _needed_ html macro (potentially with syntax activated), the current one needs _only wiki syntax_ (potentially in an html macro). There is a context which satisfies both (html macro with wiki syntax activated) but it was not documented anywhere, I'm not even sure it is _the rule_ for macros in macros.vm, so people used what it worked, in this case a plain simple html macro whose wiki parameter defaults to false. The wysiwyg macros in macros.vm, for example, I would say they need to be called in a html macro with syntax switched off, but it's just a guess, looking at the code. I think we need to: 1/ make a decision about what is API from macros.vm 2/ make a decision about what _was_ API from
[xwiki-users] Panels backward compatibility
Hello, I am trying to upgrade an old XEM to 3.5.1. In this XEM there are some custom panels which have been converted to 2.0 syntax and contain code like this: {{velocity}} {{html}} #panelheader(...) ... #panelfooter() {{/html}} {{/velocity}} Because since 2.7.2 panel macros were converted to 2.0 syntax, because panel macros from inside macros.vm were modified by calling {{html}} wiki macro and because we can't use nested {{html}} macros without wiki=true parameter, I don't know how to fix this issue besides modifying panel code. This XEM has more than 70 wikis and this I can't just modify all custom (converted to 2.0 syntax) panels manually. Is there a nice solution to this problem ? Should I open an issue on Jira ? Raluca. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Panels backward compatibility
I'm resending this mail by using the right subject pattern. Hello, I am trying to upgrade an old XEM to 3.5.1. In this XEM there are some custom panels which have been converted to 2.0 syntax and contain code like this: {{velocity}} {{html}} #panelheader(...) ... #panelfooter() {{/html}} {{/velocity}} Because since 2.7.2 panel macros were converted to 2.0 syntax, because panel macros from inside macros.vm were modified by calling {{html}} wiki macro and because we can't use nested {{html}} macros without wiki=true parameter, I don't know how to fix this issue besides modifying panel code. This XEM has more than 70 wikis and this I can't just modify all custom (converted to 2.0 syntax) panels manually. Is there a nice solution to this problem ? Should I open an issue on Jira ? Raluca. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels backward compatibility
On Jun 13, 2012, at 12:44 PM, Raluca Stavro wrote: I'm resending this mail by using the right subject pattern. Hello, I am trying to upgrade an old XEM to 3.5.1. In this XEM there are some custom panels which have been converted to 2.0 syntax and contain code like this: {{velocity}} {{html}} #panelheader(...) ... #panelfooter() {{/html}} {{/velocity}} Because since 2.7.2 panel macros were converted to 2.0 syntax, because panel macros from inside macros.vm were modified by calling {{html}} wiki macro and because we can't use nested {{html}} macros without wiki=true parameter, I don't know how to fix this issue besides modifying panel code. This XEM has more than 70 wikis and this I can't just modify all custom (converted to 2.0 syntax) panels manually. Is there a nice solution to this problem ? Idea 1: == Add a new #panelheaderold macro in macros.vm and replace all calls of #panelheader to #panelheaderold in your panels (easy to do with a XWQL query and 3 lines of scripts). Slowy migrate panels to new syntax. Note: = Actually in the future we need to add a new {{panel}} macro, something like: {{panel style=.. title=…}} … content here … {{/panel}} Idea 2: == Create a custom Panel wiki macro (give it a name other than panel!), search for: {{velocity}}{{html}}#panelheader….#panelfooter{{/html}}{{/velocity}} (use a regex) Replace with your panel macro. Should I open an issue on Jira ? Nope Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels backward compatibility
On 06/13/2012 01:52 PM, Raluca Stavro wrote: Hi, On Wed, Jun 13, 2012 at 2:15 PM, Vincent Massolvinc...@massol.net wrote: On Jun 13, 2012, at 12:44 PM, Raluca Stavro wrote: I'm resending this mail by using the right subject pattern. Hello, I am trying to upgrade an old XEM to 3.5.1. In this XEM there are some custom panels which have been converted to 2.0 syntax and contain code like this: {{velocity}} {{html}} #panelheader(...) ... #panelfooter() {{/html}} {{/velocity}} Because since 2.7.2 panel macros were converted to 2.0 syntax, because panel macros from inside macros.vm were modified by calling {{html}} wiki macro and because we can't use nested {{html}} macros without wiki=true parameter, I don't know how to fix this issue besides modifying panel code. This XEM has more than 70 wikis and this I can't just modify all custom (converted to 2.0 syntax) panels manually. Is there a nice solution to this problem ? Idea 1: == Add a new #panelheaderold macro in macros.vm and replace all calls of #panelheader to #panelheaderold in your panels (easy to do with a XWQL query and 3 lines of scripts). Slowy migrate panels to new syntax. Note: = Actually in the future we need to add a new {{panel}} macro, something like: {{panel style=.. title=…}} … content here … {{/panel}} Idea 2: == Create a custom Panel wiki macro (give it a name other than panel!), search for: {{velocity}}{{html}}#panelheader….#panelfooter{{/html}}{{/velocity}} (use a regex) Replace with your panel macro. Should I open an issue on Jira ? Nope So this means that none of the macros in macros.vm are API? Which means that there is no API to make a panel header consistent with the panel headers of the default panels? Thanks, Anca So there is no other way to fix this issue but by modifying the code inside panels. Thank you, Vincent. Raluca. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels backward compatibility
On Jun 13, 2012, at 2:39 PM, Anca Luca wrote: On 06/13/2012 01:52 PM, Raluca Stavro wrote: Hi, On Wed, Jun 13, 2012 at 2:15 PM, Vincent Massolvinc...@massol.net wrote: On Jun 13, 2012, at 12:44 PM, Raluca Stavro wrote: I'm resending this mail by using the right subject pattern. Hello, I am trying to upgrade an old XEM to 3.5.1. In this XEM there are some custom panels which have been converted to 2.0 syntax and contain code like this: {{velocity}} {{html}} #panelheader(...) ... #panelfooter() {{/html}} {{/velocity}} Because since 2.7.2 panel macros were converted to 2.0 syntax, because panel macros from inside macros.vm were modified by calling {{html}} wiki macro and because we can't use nested {{html}} macros without wiki=true parameter, I don't know how to fix this issue besides modifying panel code. This XEM has more than 70 wikis and this I can't just modify all custom (converted to 2.0 syntax) panels manually. Is there a nice solution to this problem ? Idea 1: == Add a new #panelheaderold macro in macros.vm and replace all calls of #panelheader to #panelheaderold in your panels (easy to do with a XWQL query and 3 lines of scripts). Slowy migrate panels to new syntax. Note: = Actually in the future we need to add a new {{panel}} macro, something like: {{panel style=.. title=…}} … content here … {{/panel}} Idea 2: == Create a custom Panel wiki macro (give it a name other than panel!), search for: {{velocity}}{{html}}#panelheader….#panelfooter{{/html}}{{/velocity}} (use a regex) Replace with your panel macro. Should I open an issue on Jira ? Nope So this means that none of the macros in macros.vm are API? Which means that there is no API to make a panel header consistent with the panel headers of the default panels? Good point. Macros in macros.vm are supposed to be APIs and it means we broke the backward compatibility at some point in the past (2.7 as suggested by Raluca). We should probably have introduced new macros instead when we introduced the conversion to 2.0 syntax. Now since this is very old we need to decide what we want to do at this point. Thanks -Vincent Thanks, Anca So there is no other way to fix this issue but by modifying the code inside panels. Thank you, Vincent. Raluca. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels backward compatibility
On Jun 13, 2012, at 2:52 PM, Anca Luca wrote: On 06/13/2012 02:44 PM, Vincent Massol wrote: On Jun 13, 2012, at 2:39 PM, Anca Luca wrote: On 06/13/2012 01:52 PM, Raluca Stavro wrote: Hi, On Wed, Jun 13, 2012 at 2:15 PM, Vincent Massolvinc...@massol.net wrote: On Jun 13, 2012, at 12:44 PM, Raluca Stavro wrote: I'm resending this mail by using the right subject pattern. Hello, I am trying to upgrade an old XEM to 3.5.1. In this XEM there are some custom panels which have been converted to 2.0 syntax and contain code like this: {{velocity}} {{html}} #panelheader(...) ... #panelfooter() {{/html}} {{/velocity}} Because since 2.7.2 panel macros were converted to 2.0 syntax, because panel macros from inside macros.vm were modified by calling {{html}} wiki macro and because we can't use nested {{html}} macros without wiki=true parameter, I don't know how to fix this issue besides modifying panel code. This XEM has more than 70 wikis and this I can't just modify all custom (converted to 2.0 syntax) panels manually. Is there a nice solution to this problem ? Idea 1: == Add a new #panelheaderold macro in macros.vm and replace all calls of #panelheader to #panelheaderold in your panels (easy to do with a XWQL query and 3 lines of scripts). Slowy migrate panels to new syntax. Note: = Actually in the future we need to add a new {{panel}} macro, something like: {{panel style=.. title=…}} … content here … {{/panel}} Idea 2: == Create a custom Panel wiki macro (give it a name other than panel!), search for: {{velocity}}{{html}}#panelheader….#panelfooter{{/html}}{{/velocity}} (use a regex) Replace with your panel macro. Should I open an issue on Jira ? Nope So this means that none of the macros in macros.vm are API? Which means that there is no API to make a panel header consistent with the panel headers of the default panels? Good point. Macros in macros.vm are supposed to be APIs and it means we broke the backward compatibility at some point in the past (2.7 as suggested by Raluca). 3.2 M1 https://github.com/xwiki/xwiki-platform/commit/2e4b54267b9bf4048c14fdf14b6a0a65236aabad http://jira.xwiki.org/browse/XWIKI-6504 It's interesting that the API Breakage section of the 3.2M1 release notes says only [TODO] http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise32M1#HAPIBreakages ... :) bad bad… Who was the RM? :) -Vincent Anca We should probably have introduced new macros instead when we introduced the conversion to 2.0 syntax. Now since this is very old we need to decide what we want to do at this point. Thanks -Vincent Thanks, Anca So there is no other way to fix this issue but by modifying the code inside panels. Thank you, Vincent. Raluca. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels backward compatibility
On 06/13/2012 09:17 AM, Vincent Massol wrote: On Jun 13, 2012, at 2:52 PM, Anca Luca wrote: On 06/13/2012 02:44 PM, Vincent Massol wrote: On Jun 13, 2012, at 2:39 PM, Anca Luca wrote: On 06/13/2012 01:52 PM, Raluca Stavro wrote: Hi, On Wed, Jun 13, 2012 at 2:15 PM, Vincent Massolvinc...@massol.net wrote: On Jun 13, 2012, at 12:44 PM, Raluca Stavro wrote: I'm resending this mail by using the right subject pattern. Hello, I am trying to upgrade an old XEM to 3.5.1. In this XEM there are some custom panels which have been converted to 2.0 syntax and contain code like this: {{velocity}} {{html}} #panelheader(...) ... #panelfooter() {{/html}} {{/velocity}} Do the panels really need the {{html}} wrapper? If no, then you must remove it. If yes, then you should consider rewriting them using wiki syntax only, then remove the {{html}} wrapper. If you can't do that, then just move the wrapper inside the panelheader/footer. You can do that automatically with a script. Because since 2.7.2 panel macros were converted to 2.0 syntax, because panel macros from inside macros.vm were modified by calling {{html}} wiki macro and because we can't use nested {{html}} macros without wiki=true parameter, I don't know how to fix this issue besides modifying panel code. I don't understand this. Are you saying that in macros.vm #panelheader uses {{html}}? That's not true, the panelheader/footer macros only use wiki syntax, not {{html}}. The problem isn't that nested {{html}} macros don't work, but that wiki syntax doesn't work in {{html}} without wiki=true. This XEM has more than 70 wikis and this I can't just modify all custom (converted to 2.0 syntax) panels manually. Is there a nice solution to this problem ? Idea 1: == Add a new #panelheaderold macro in macros.vm and replace all calls of #panelheader to #panelheaderold in your panels (easy to do with a XWQL query and 3 lines of scripts). Slowy migrate panels to new syntax. Note: = Actually in the future we need to add a new {{panel}} macro, something like: {{panel style=.. title=…}} … content here … {{/panel}} Idea 2: == Create a custom Panel wiki macro (give it a name other than panel!), search for: {{velocity}}{{html}}#panelheader….#panelfooter{{/html}}{{/velocity}} (use a regex) Replace with your panel macro. Should I open an issue on Jira ? Nope So this means that none of the macros in macros.vm are API? Which means that there is no API to make a panel header consistent with the panel headers of the default panels? Good point. Macros in macros.vm are supposed to be APIs and it means we broke the backward compatibility at some point in the past (2.7 as suggested by Raluca). The macros still work for both xwiki/1.0 and xwiki/2.x panels. What doesn't work is putting the whole panel content inside a {{html}} block, without any wiki parsing. The problem was that there was a misunderstanding of the macros behavior. The macros were supposed to work well in wiki syntax. Initially, that meant the only xwiki syntax, which did mix HTML with the rest of the wiki and velocity syntax. When new wiki syntaxes were introduced and the macros were updated, the behavior remained the same: the #panelheader/footer macros work well in both xwiki/1.0 and xwiki/2.x syntaxes. But pure HTML isn't really a wiki syntax. The fact that for a few releases the macros worked in pure HTML embedded in an xwiki/2.0 document, but not directly in a xwiki/2.0 document, was a bug, not a contract. Unfortunately some developers did rely on this bug. 3.2 M1 https://github.com/xwiki/xwiki-platform/commit/2e4b54267b9bf4048c14fdf14b6a0a65236aabad http://jira.xwiki.org/browse/XWIKI-6504 It's interesting that the API Breakage section of the 3.2M1 release notes says only [TODO] http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise32M1#HAPIBreakages ... :) bad bad… Who was the RM? :) -Vincent Anca We should probably have introduced new macros instead when we introduced the conversion to 2.0 syntax. Now since this is very old we need to decide what we want to do at this point. Thanks -Vincent Thanks, Anca So there is no other way to fix this issue but by modifying the code inside panels. Thank you, Vincent. Raluca. Thanks -Vincent -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels backward compatibility
Hi, On Wed, Jun 13, 2012 at 7:09 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 06/13/2012 09:17 AM, Vincent Massol wrote: On Jun 13, 2012, at 2:52 PM, Anca Luca wrote: On 06/13/2012 02:44 PM, Vincent Massol wrote: On Jun 13, 2012, at 2:39 PM, Anca Luca wrote: On 06/13/2012 01:52 PM, Raluca Stavro wrote: Hi, On Wed, Jun 13, 2012 at 2:15 PM, Vincent Massolvinc...@massol.net wrote: On Jun 13, 2012, at 12:44 PM, Raluca Stavro wrote: I'm resending this mail by using the right subject pattern. Hello, I am trying to upgrade an old XEM to 3.5.1. In this XEM there are some custom panels which have been converted to 2.0 syntax and contain code like this: {{velocity}} {{html}} #panelheader(...) ... #panelfooter() {{/html}} {{/velocity}} Do the panels really need the {{html}} wrapper? If no, then you must remove it. If yes, then you should consider rewriting them using wiki syntax only, then remove the {{html}} wrapper. If you can't do that, then just move the wrapper inside the panelheader/footer. You can do that automatically with a script. I applied the solution suggested by Vincent (including both old and new macro definitions in macros.vm and use a script to make all panels call the right macros). But yes, another solution would be to remove the {{html}} wrapper. Because since 2.7.2 panel macros were converted to 2.0 syntax, because panel macros from inside macros.vm were modified by calling {{html}} wiki macro and because we can't use nested {{html}} macros without wiki=true parameter, I don't know how to fix this issue besides modifying panel code. I don't understand this. Are you saying that in macros.vm #panelheader uses {{html}}? That's not true, the panelheader/footer macros only use wiki syntax, not {{html}}. The problem isn't that nested {{html}} macros don't work, but that wiki syntax doesn't work in {{html}} without wiki=true. Actually they contain both wiki syntax and a call to {{html}} when displaying the title in 2.0 syntax, on 4.0 stable version WAR at least. This XEM has more than 70 wikis and this I can't just modify all custom (converted to 2.0 syntax) panels manually. Is there a nice solution to this problem ? Idea 1: == Add a new #panelheaderold macro in macros.vm and replace all calls of #panelheader to #panelheaderold in your panels (easy to do with a XWQL query and 3 lines of scripts). Slowy migrate panels to new syntax. Note: = Actually in the future we need to add a new {{panel}} macro, something like: {{panel style=.. title=…}} … content here … {{/panel}} Idea 2: == Create a custom Panel wiki macro (give it a name other than panel!), search for: {{velocity}}{{html}}#**panelheader….#panelfooter{{/**html}}{{/velocity}} (use a regex) Replace with your panel macro. Should I open an issue on Jira ? Nope So this means that none of the macros in macros.vm are API? Which means that there is no API to make a panel header consistent with the panel headers of the default panels? Good point. Macros in macros.vm are supposed to be APIs and it means we broke the backward compatibility at some point in the past (2.7 as suggested by Raluca). The macros still work for both xwiki/1.0 and xwiki/2.x panels. What doesn't work is putting the whole panel content inside a {{html}} block, without any wiki parsing. The problem was that there was a misunderstanding of the macros behavior. The macros were supposed to work well in wiki syntax. Initially, that meant the only xwiki syntax, which did mix HTML with the rest of the wiki and velocity syntax. When new wiki syntaxes were introduced and the macros were updated, the behavior remained the same: the #panelheader/footer macros work well in both xwiki/1.0 and xwiki/2.x syntaxes. But pure HTML isn't really a wiki syntax. The fact that for a few releases the macros worked in pure HTML embedded in an xwiki/2.0 document, but not directly in a xwiki/2.0 document, was a bug, not a contract. Unfortunately some developers did rely on this bug. The same issue happens with parameters like output=none for {{velocity}} macro. It was a bug and developers did rely on it (maybe not even knowing that it was indeed a bug), but on latest versions this parameter value does not work anymore and it has to be replaced with output=false. Such bugs make upgrades hard to be performed. It takes plenty of time to detect the cause of a problem (unknown old bug) and then to fix it in the appropriate way. I would like to be able to click a button and upgrade the wiki without being forced to fix post-upgrade bugs. Of course that this is maybe almost impossible because each wiki has its own particularities, but I'll continue dreaming of it :) Thank you all for your feedback, Raluca. 3.2 M1 https://github.com/xwiki/**xwiki-platform/commit/**
[xwiki-users] Panels with xwiki syntax 2.0
Hi, When I set a panel to xwiki syntax 2.0 I am not able to have a number of links (in a navigation panel) seperated by new lines (or linefeeds) the syntax I use is; {{velocity filter=none}} {{html clean=false wiki=true}} #panelheader('PersonalServices') [[space.document]] [[space.document]] [[space.document]] #panelfooter() {{/html}} {{/velocity}} I've tried adding extra line feed. Add \\ after each line When I change panel to syntax 1.0 it works fine Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels with xwiki syntax 2.0
Hi, On May 23, 2011, at 10:58 AM, Gerritjan Koekkoek wrote: Hi, When I set a panel to xwiki syntax 2.0 I am not able to have a number of links (in a navigation panel) seperated by new lines (or linefeeds) the syntax I use is; {{velocity filter=none}} {{html clean=false wiki=true}} #panelheader('PersonalServices') [[space.document]] [[space.document]] [[space.document]] #panelfooter() {{/html}} {{/velocity}} You should use a list instead. * [[xxx...]] * [[xxx...]] * [[xxx...]] I've tried adding extra line feed. Add \\ after each line When I change panel to syntax 1.0 it works fine Gerritjan Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels with xwiki syntax 2.0
Hi, I know this will work, but in this case I try to avoud the list since it will ident the links to the right. Visually I do not like that. (i could, ofcourse, use some css to correct the ident; but that makes it really overcomplicated Are you suggesting linefeeds will not work in a panel? The syntax I used works in a 'normal' document with XWiki 2.0 syntax? Gerritjan Op 23 mei 2011, om 11:05 heeft Vincent Massol het volgende geschreven: Hi, On May 23, 2011, at 10:58 AM, Gerritjan Koekkoek wrote: Hi, When I set a panel to xwiki syntax 2.0 I am not able to have a number of links (in a navigation panel) seperated by new lines (or linefeeds) the syntax I use is; {{velocity filter=none}} {{html clean=false wiki=true}} #panelheader('PersonalServices') [[space.document]] [[space.document]] [[space.document]] #panelfooter() {{/html}} {{/velocity}} You should use a list instead. * [[xxx...]] * [[xxx...]] * [[xxx...]] I've tried adding extra line feed. Add \\ after each line When I change panel to syntax 1.0 it works fine Gerritjan Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels with xwiki syntax 2.0
On May 23, 2011, at 1:10 PM, Gerritjan Koekkoek wrote: Hi, I know this will work, but in this case I try to avoud the list since it will ident the links to the right. Visually I do not like that. (i could, ofcourse, use some css to correct the ident; but that makes it really overcomplicated Are you suggesting linefeeds will not work in a panel? I don't know, you can check this easily with firebug for example. The syntax I used works in a 'normal' document with XWiki 2.0 syntax? You could try it to verify by yourself ;) Thanks -Vincent Gerritjan Op 23 mei 2011, om 11:05 heeft Vincent Massol het volgende geschreven: Hi, On May 23, 2011, at 10:58 AM, Gerritjan Koekkoek wrote: Hi, When I set a panel to xwiki syntax 2.0 I am not able to have a number of links (in a navigation panel) seperated by new lines (or linefeeds) the syntax I use is; {{velocity filter=none}} {{html clean=false wiki=true}} #panelheader('PersonalServices') [[space.document]] [[space.document]] [[space.document]] #panelfooter() {{/html}} {{/velocity}} You should use a list instead. * [[xxx...]] * [[xxx...]] * [[xxx...]] I've tried adding extra line feed. Add \\ after each line When I change panel to syntax 1.0 it works fine Gerritjan Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels with xwiki syntax 2.0
On Mon, May 23, 2011 at 10:58, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi, When I set a panel to xwiki syntax 2.0 I am not able to have a number of links (in a navigation panel) seperated by new lines (or linefeeds) the syntax I use is; {{velocity filter=none}} {{html clean=false wiki=true}} #panelheader('PersonalServices') [[space.document]] [[space.document]] [[space.document]] #panelfooter() {{/html}} {{/velocity}} I've tried adding extra line feed. Add \\ after each line Did you tried br/ ? You are in a html macro so you are producing html content. When I change panel to syntax 1.0 it works fine Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels with xwiki syntax 2.0
Hi, Op 23 mei 2011, om 13:14 heeft Vincent Massol het volgende geschreven: On May 23, 2011, at 1:10 PM, Gerritjan Koekkoek wrote: Hi, I know this will work, but in this case I try to avoud the list since it will ident the links to the right. Visually I do not like that. (i could, ofcourse, use some css to correct the ident; but that makes it really overcomplicated Are you suggesting linefeeds will not work in a panel? I don't know, you can check this easily with firebug for example. This is what is generated with xwiki2.0 syntax (inside a panel) div class=xwikipanelcontents img width=100% alt=2.jpg src=http://cdls-nl.org/xwiki/bin/download/Photos/CdLSWorldbanners/2.jpg; span class=wikilink a href=/xwiki/bin/view/BlogNL/Cdls+PersonenPersoonlijke verhalen/a /span span class=wikilink a href=/xwiki/bin/view/BlogNL/KontaktKom in kontakt/a /span span class=wikilink a href=/xwiki/bin/view/BlogNL/InformatieNieuwe Informatie/a /span /div I found the problem; the {{html clean=false wiki=true}} filters the linefeeds by putting {{\html}} just before the XWiki 2.0 syntax of the links and repeating {{html clean=false wiki=true}} just before #panelfooter() I was able to have the links in panel with XWiki 2.0 without the list trick; The syntax I used works in a 'normal' document with XWiki 2.0 syntax? You could try it to verify by yourself ;) Thx, I had done that, but realized it was without the {{velocity}} and {{html}} enclosing (pure xwiki syntax) Thanks -Vincent Gerritjan Op 23 mei 2011, om 11:05 heeft Vincent Massol het volgende geschreven: Hi, On May 23, 2011, at 10:58 AM, Gerritjan Koekkoek wrote: Hi, When I set a panel to xwiki syntax 2.0 I am not able to have a number of links (in a navigation panel) seperated by new lines (or linefeeds) the syntax I use is; {{velocity filter=none}} {{html clean=false wiki=true}} #panelheader('PersonalServices') [[space.document]] [[space.document]] [[space.document]] #panelfooter() {{/html}} {{/velocity}} You should use a list instead. * [[xxx...]] * [[xxx...]] * [[xxx...]] I've tried adding extra line feed. Add \\ after each line When I change panel to syntax 1.0 it works fine Gerritjan Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
Hi Gerritjan To display panels as collapsed, attach a Javascript sheet to a page (EditObjectsJavascript Extension). Put the following code in: document.observe('xwiki:dom:loaded', function() { $$('.panel').each(function(item) { item.removeClassName('expanded'); item.addClassName('collapsed'); }); }); Mark it as 'Always on this Wiki'. Hope this helps, Lockie - Lockie -- View this message in context: http://xwiki.475771.n2.nabble.com/Panels-tp6018944p6022132.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
Hello On Mon, Feb 14, 2011 at 3:22 AM, Lockie loc...@gmail.com wrote: Hi Gerritjan To display panels as collapsed, attach a Javascript sheet to a page (EditObjectsJavascript Extension). Put the following code in: document.observe('xwiki:dom:loaded', function() { $$('.panel').each(function(item) { item.removeClassName('expanded'); item.addClassName('collapsed'); }); }); This will collapse all the panels. Another temporary solution (until the issue will be fixed by someone), is to not use a macro, but to write directly the HTML structure of the header, inside the panel content: div class=panel collapsed h1 class=xwikipaneltitle onclick=XWiki.togglePanelVisibility(this.parentNode, '');_panel title_/h1 div class=xwikipanelcontents _here it comes the panel content_ #panelfooter() This way you set the status as being collapsed by default, for the current panel. Note that the cookies will not work anymore for such a panel and it will always be collapsed on loading the page. Raluca. Mark it as 'Always on this Wiki'. Hope this helps, Lockie - Lockie -- View this message in context: http://xwiki.475771.n2.nabble.com/Panels-tp6018944p6022132.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
Hello, On Sat, Feb 12, 2011 at 5:52 PM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: have a two questions about Panels 1) How can I make the panel default display collapsed? There is no existing macro that would help you display by default a panel as being collapsed. The 'collapse' status is stored as a cookie. See the comments of this issue: http://jira.xwiki.org/jira/browse/XE-325 (you can vote for the issue). 2) Is there any logic in where you define the display of panels - in the admin - presentation ; attributes, show left panel = true, left panels, show right panel= true right panels - panel wizard, but although the setting is show left column - the admin, per space - panel wizard, per space The logic is very simple: 1) Panels can be set at wiki (Wiki Administration - Presentation section) and at space level (Space Administration - Presentation section) 2) You can choose to display or not the left panels column (by choosing 'YES' or 'NOT' for 'SHOW LEFT PANELS' property) and/or right panels column (by choosing 'YES' or 'NOT' for 'SHOW RIGHT PANELS' property) for the _whole wiki_ OR for _certain spaces_ 3) You can choose what panels to display by filling the 'LEFT PANELS' and/or 'RIGHT PANELS' properties inside the presentation section at wiki and/or space level 4) Space level settings (display YES or NO and what panels to be displayed) override wiki level settings - so if you choose at wiki level to display left panels, and on space A you choose not to display left panels, then you will see left panels on the whole wiki besides space A 6) You can use the Panel Wizzard in order to arrange the panels layout instead of setting the preferences inside the Presentation section. See also http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/ChangingTheLogoAndThePanels#HChangingyourwiki27spanels. What is the best place to learn understand panels, the do's and do not's? My problem is that am having difficulties predicting what will happen, some panels can be displayed in a certain space while not in another? Yes, each space can have its own panels, see the above explanations. Raluca. Thx, Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
(Sorry, posted this reply in the wrong thread) Ah nevermind I found the answer in the FAQ, was alot simpler than I thought: -- #foreach ($item in $xwiki.searchDocuments(where doc.web='SpaceName')) * [$item] #end -- It makes a Web Home link though, how can I get rid of that? So far I'm stuck at: -- #set ($hiddenpage = [SpaceName.WebHome]) #foreach ($item in $xwiki.searchDocuments(where doc.web='SpaceName')) #if ($hiddenpage.contains($item) __something__ * [$item] #end #end -- Thanks for your patience Lockie. -- View this message in context: http://xwiki.475771.n2.nabble.com/Panels-tp5306756p5455654.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
On 08/23/2010 06:46 AM, Lockie wrote: I was going to make a thread asking this but found this one. Is there any way to default panels as collapsed? All panels, or just some? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
Sergiu Dumitriu-2 wrote: On 08/23/2010 06:46 AM, Lockie wrote: I was going to make a thread asking this but found this one. Is there any way to default panels as collapsed? All panels, or just some? I'm looking at having them all closed and I'm using the colibri skin if it helps. Thanks, Lockie. -- View this message in context: http://xwiki.475771.n2.nabble.com/Panels-tp5306756p5454672.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
On 08/24/2010 01:17 AM, Lockie wrote: Sergiu Dumitriu-2 wrote: On 08/23/2010 06:46 AM, Lockie wrote: I was going to make a thread asking this but found this one. Is there any way to default panels as collapsed? All panels, or just some? I'm looking at having them all closed and I'm using the colibri skin if it helps. Then you can create a JavaScript extension (see http://platform.xwiki.org/xwiki/bin/DevGuide/SkinExtensionsTutorial ) with the following code: document.observe('xwiki:dom:loaded', function() { $$('.panel').each(function(item) { item.removeClassName('expanded'); item.addClassName('collapsed'); }); }); and set the extension to be used Always on this wiki. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
Sergiu Dumitriu-2 wrote: Then you can create a JavaScript extension (see http://platform.xwiki.org/xwiki/bin/DevGuide/SkinExtensionsTutorial ) with the following code: document.observe('xwiki:dom:loaded', function() { $$('.panel').each(function(item) { item.removeClassName('expanded'); item.addClassName('collapsed'); }); }); and set the extension to be used Always on this wiki. Thanks! That worked fine. One final quick question- I have a panel for each space, and I need each of these panels to automatically display a list of pages within their respective space to work as a menu. The http://code.xwiki.org/xwiki/bin/view/Snippets/ChildParentSnippet ChildParentSnippet code seems to work in panels, but now I need help in determining what part of it I can change so that it only picks up pages of individual spaces. Because I'm making the panels manually, I can put the space names into the code manually. Thanks, Lockie. -- View this message in context: http://xwiki.475771.n2.nabble.com/Panels-tp5306756p5455547.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
I was going to make a thread asking this but found this one. Is there any way to default panels as collapsed? Lockie. -- View this message in context: http://xwiki.475771.n2.nabble.com/Panels-tp5306756p5451436.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
Hi Stefan, Yes you can. In my case, based on a user, its group and its rights, i display different links and pictures. It's easy to do in the source of the panel that you want to customize Ex: #if($xwiki.exists(BankingLexicon.WebHome)) div style=margin-bottom: ${marginbottom}px{image:lexicon.png|align=absmiddle|document=Panels.QuickLinks}nbsp;nbsp;[Banking lexiconBankingLexicon.WebHome]/div #end #if($xwiki.getUser().isUserInGroup(XWiki.GlobusAstreintes) $xwiki.exists(Astreintes.WebHome)) div style=margin-bottom: ${marginbottom}px{image:astreintes.png|align=absmiddle|document=Panels.QuickLinks}nbsp;nbsp;[AstreintesAstreintes.WebHome]/div #end You can also display or not a panel based on test : #if ($xwiki.hasAdminRights()) #panelheader('Administrate') #set($marginbottom=3) div style=margin-bottom: ${marginbottom}px{image:new.png|align=absmiddle|document=Panels.Administrate}nbsp;nbsp;[Create new page/spacePanels.NewPage]/div #panelfooter() #end If the user does not have admin rights, nothing will be displayed Christophe Périnaud Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 2.0.3 from the pack Jetty/HSQL -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de stefan bachert Envoyé : mercredi 17 février 2010 10:05 À : users@xwiki.org Objet : [xwiki-users] Panels Is there a way to set panels different per user capability? Stefan Bachert __ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels
On 02/17/2010 10:34 AM, PERINAUD Christophe wrote: Hi Stefan, Yes you can. In my case, based on a user, its group and its rights, i display different links and pictures. It's easy to do in the source of the panel that you want to customize Ex: #if($xwiki.exists(BankingLexicon.WebHome)) div style=margin-bottom: ${marginbottom}px{image:lexicon.png|align=absmiddle|document=Panels.QuickLinks}nbsp;nbsp;[Banking lexiconBankingLexicon.WebHome]/div #end #if($xwiki.getUser().isUserInGroup(XWiki.GlobusAstreintes) $xwiki.exists(Astreintes.WebHome)) div style=margin-bottom: ${marginbottom}px{image:astreintes.png|align=absmiddle|document=Panels.QuickLinks}nbsp;nbsp;[AstreintesAstreintes.WebHome]/div #end You can also display or not a panel based on test : #if ($xwiki.hasAdminRights()) #panelheader('Administrate') #set($marginbottom=3) div style=margin-bottom: ${marginbottom}px{image:new.png|align=absmiddle|document=Panels.Administrate}nbsp;nbsp;[Create new page/spacePanels.NewPage]/div #panelfooter() #end If the user does not have admin rights, nothing will be displayed Small clarification: all this is inside the panel, as it allows velocity code to be written in it. Any API method offered by XWiki can be used. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de stefan bachert Envoyé : mercredi 17 février 2010 10:05 À : users@xwiki.org Objet : [xwiki-users] Panels Is there a way to set panels different per user capability? Stefan Bachert -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Panels in Chronopolys
I have figured out how to change the panels on the main page using the panel wizard by going to the link http://localhost:8080/xwiki/bin/view/Panels/ and clicking the panel wizard, but I can seem to find how to adjust the panels in the working groups. Is there a way to use the panel wizard on other pages besides the main page? Also, when I have set up a panel configuration for a working group page is there a way to save that configurations to be used on other pages. Any assistance will be greatly appreciated. -Anna ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] panels don't appear
Done! As you said: div was implied. The use of #panelheader() and #footer() is a bit tricky. Thanks for your help, Ricardo [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Thanks, Sergiu. Sergiu Dumitriu wrote: Probably the page has some missing or extra closing tags (I'd bet on some /divs). Validate the content with http://validator.w3.org/ , it will tell you what's wrong. Tones of errors! Well, at least 31 :-) http://tinyurl.com/3kpzht I will check them at keep this thread posted. Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] panels don't appear
Hi all, XE 1.3.8295, Internet Explorer 7.0.5730.11 The rigth side column panels don't appear when accessing Main.WebHome In any other place, it appears without any problem. For instance, in Main.WebSearch or Panels.WebHome. The same is true with either Albatross or Toucan skins, or whatever other skin is defined in this box. Other virtual wikis in the same installation are doing just fine. Safari, OmniWeb and Firefox correctly show page. Please, any idea? Thanks! Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] panels don't appear
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Hi all, XE 1.3.8295, Internet Explorer 7.0.5730.11 The rigth side column panels don't appear when accessing Main.WebHome In any other place, it appears without any problem. For instance, in Main.WebSearch or Panels.WebHome. The same is true with either Albatross or Toucan skins, or whatever other skin is defined in this box. Other virtual wikis in the same installation are doing just fine. Safari, OmniWeb and Firefox correctly show page. Please, any idea? Thanks! Probably the page has some missing or extra closing tags (I'd bet on some /divs). Validate the content with http://validator.w3.org/ , it will tell you what's wrong. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panels off
Hi... I usually never like to 'reopen cases' but this is also what I am looking for... I've tried to hide the panel for the starting page by using #set($showLeftPanels = 0) and then again bringing it back to #set($showLeftPanels = 1) wherever I wanted it (I agree, it was a stupid idea). I was wondering, can I make a new xwiki variable, $showPageLeftPanels, and use it in the .vm files ? Harikrishnan vmassol wrote: Hi Gunter, On May 21, 2007, at 7:14 PM, Gunter Leeb wrote: Hi, Is there a simple way to turn the panels off for a particular page? I know this is possible, by creating the page in a new space and configuring the new space not to show the panels. Is there another way? No, this feature doesn't exist AFAIK. We could have imagine that passing showColumns=0 in the url would have done the trick but it's not there. So there are several hacks possible: 1) modify startpage.vm so that it look in the url if you pass some parameter to hide columns 2) use css/javascript in the page that you wish to hide so that it hides the panel(s) -Vincent -- You receive this message as a subscriber of the [EMAIL PROTECTED] mailing list. To unsubscribe: mailto:[EMAIL PROTECTED] For general help: mailto:[EMAIL PROTECTED] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- View this message in context: http://www.nabble.com/Panels-off-tf3794648.html#a13601453 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users