How to hide Create button from page menu for user with edit rights??
Last modified by Nikita Petrenko on 2026/08/07 13:54
Follow these steps:
- Navigate to the DefaultSkin page via shortcut and type "Skin" into 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 content block. If a template already exists, you can place that code at the beginning or end of the existing customization code.
#if ($xwiki.hasAccessLevel('edit', $xcontext.user)) #set ($displayCreateMenu = false) #end
Before:

After:
