Disabling the More menu
If you do not want to offer the More menu and the information mode toggle in your authoring system, you can disable it globally or for individual virtual portals. If you disable the More menu, the portal no longer shows the preview context menu in the action bar of the site toolbar.
You disable the More menu in the virtual portal configuration service.
-
Log in to the WebSphere® Integrated Solutions Console as an administrator.
-
Click Resources > Resource Environment > Resource Environment Providers.
-
Click WP VirtualPortalConfigService.
-
Update the appropriate configuration properties, depending on whether you want to disable the feature globally or for a specific virtual portal only:
- To disable the More menu in the entire portal, including all virtual portals, proceed as follows:
- Click Custom properties.
- Edit the property
global.wp_toolbar_moremenu.enabled
, and set its value tofalse
. - Save your changes.
- Restart the Portal server to apply your changes.
-
To disable the More menu for a specific virtual portal, proceed as follows:
- Click Custom properties.
- To disable the More menu for the default virtual portal, edit or create the property
default.wp_toolbar_moremenu.enabled
, and set its value tofalse
. -
To disable the More menu for any other virtual portal than the default virtual portal, specify the following properties:
-
context.virtual_portal_context.property.wp_toolbar_moremenu.enabled = false
Set the value for this property to
false
. Replacevirtual_portal_context
with the context of the target virtual portal. Example:context.vp1.property.wp_toolbar_moremenu.enabled = false
. -
hostname.virtual_portal_hostname.property.wp_toolbar_moremenu.enabled = false
Set the value for this property to
false
. Replacevirtual_portal_hostname
with the host name of the target virtual portal. Example:hostname.vp.example.com.property.wp_toolbar_moremenu.enabled = false
.
-
-
Restart the Portal server to apply your changes. If you defined the property
global.wp_toolbar_moremenu.enabled
listed earlier, it acts as a fallback setting for virtual portals that do not have the More menu property set. For more information about prefixes, placeholders, and the order in which properties are evaluated, read Virtual Portal Configuration Service.
- To disable the More menu in the entire portal, including all virtual portals, proceed as follows: