Display Side elements only partially?

Hi Guys,

is there any way configurationwise to e.g. display the right sideelement with defined content like blogs etc. but let it disappear as soon as we navigate deeper into the navtree?

I would like to keep that kind of sideinformation for the splashscreen, but its taking to much space
for the documentation content later on.

Cheers,
Tom

Yes, you can control the left and right panels depending on the page you’re on. See https://extensions.xwiki.org/xwiki/bin/view/Extension/Panels%20Application#HControllingwheretodisplayPanels

Sometimes things are just easy…thx vincent!

And indeed, this was too easy.
Please…Please dont ask my why but one of our teammembers is asking, if there is a chance to remove the right bar in edit mode (displaying the syntax and the hide function)

Obviously he needs more space for editing than everybody else…:roll_eyes:

Any Chance?

Cheers,
Tom

See https://www.xwiki.org/xwiki/bin/view/FAQ/How%20to%20control%20edit%20Panels

PS: Maybe start a new thread next time so that we can have nice and tidy threads about one topic only. Makes it easier for users to search this knowledge base! Thx

I’m not sure this will remove the right panels though. You can control the content but I’m not sure that it’ll be removed if there’s no content. To be tested.

Hello,
I have the same issue, in that I want the Document-Information Panel gone in Edit-Mode. I tried your link ( https://www.xwiki.org/xwiki/bin/view/FAQ/How%20to%20control%20edit%20Panels ) , sadly it only empties the panel, so the panel is still there but empty.

Also for anyone looking this up: you have to create a editpanelsvars.vm file with the contents from the above link and then upload it as an attachment to your …XWiki/DefaultSkin -page.

Is there maybe another solution to get rid of the Document-Information-Panel?

I think it’s simpler to create a custom skin and override this vm. See https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/Skins/

It’s also safer for upgrades…

Yes, by creating a custom skin and overriding the part of the vm that displays it. You could try to grep/search in xwiki-platform/xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates at 3f04f8b286eadc127a7fc309b5c7137519290670 · xwiki/xwiki-platform · GitHub

Thanks, I will look into both your solutions