Site manager

Admin Menu Editor

With this feature you can change what shows in the left hand menu in Admin when viewing a Site.

The data is a JSON structure, and here's an example of the key/value pairs supported:

KeyValueExample
nameThe name of your menu item"name": "CMS"
iconThe icon to show, chosen from FontAwesome v5 Regular icons"icon": "browser"
pathThe path/URL of your item. You can either use a relative path to stay within Siteglide, or an external HTTPS link"path": "cms/pages"
new_tabShould the link open in a new tab?"new_tab": false
childrenAn array of child menu items, following the same JSON structure"children": [{"name": "Pages", "path": "pages"}]
role_allowThe ID of the only User Roles that this will show for. This is the quickest way to only show a link to specific User Roles. Comma separated"role_allow": "1 (Administrator)"
role_denyThe ID of the User Roles this will not show for. This is the quickest way to stop showing a link to specific User Roles. Comma separated"role_deny": "3 (Client Restricted)"
permissionThe key of the only Permissions that this will show for. You can use this to show a link to anyone with this Permission, regardless of specific User Roles."permission": "cms.pages.view"
hiddenThis is an internal field, that hides menu items unless they meet certain requirements. It's not currently supported for custom Admin Menus."hidden": false
keyThis is an internal field for identifying certain menu items. It's not relevant for custom Admin Menus"key": "cms"

You can insert values for role_deny, role_allow, and permission using the dropdowns in the top right of the editor.

You can reset your menu to the default Siteglide menu using the 'Reset' button in the bottom bar.

How is this guide?

Last updated on

Powered by Holocron

Documentation

On this page

No Headings