How can I hide the left column only for guests?
Last modified by Nikita Petrenko on 2025/06/22
Follow these steps:
- Navigate to the DefaultSkin page via shortcut and type "Skin" into the search field
- Select Default XWiki Skin
- Press "Edit this skin"
- Add the new overriding template, name it layoutExtraVars.vm and place these lines of code in the template content. If the template already exists, you can place that code at the beginning or at the end of the existing content.
#if($isGuest) #set ($showLeftPanels = '0') #end