Workplace - Explorer View: Hide Advanced property button

From OpenCms Wiki
Jump to: navigation, search

This page describes how to hide the advanced property button for a resource in the workplace explorer view

since OpenCms 7.5.1

The setting has to be done in the opencms-workplace.xml in section <dialoghandlers>. The node <dialoghandlers> can be enhanced for the following sub nodes:

<param name="hideadvanced">true</param>

that does suppress the display of the "Advanced" button. Only users with role "Root Administrator" can see the button then. To make the button visible for other users, additional <param> elements have to be set:

<param name="showgroup">GroupAdvancedButtonOn</param> 

or

<param name="showgroup">/subou/GroupAdvancedButtonOn</param> 

defines groups, which shall also see the "Advanced" button.

Example:

    ...
    <dialoghandlers>
      ...
      <dialoghandler class="org.opencms.workplace.commons.CmsPropertyAdvanced">
        <param name="hideadvanced">true</param>
        <param name="showgroup">GroupAdvancedButtonOn</param>
        <param name="showgroup">OtherGroup</param>
        ...
      </dialoghandler>
    </dialoghandlers>
    ...

Taken from the the OpenCms-Mailinglist: http://lists.opencms.org/pipermail/opencms-dev/2010q3/034695.html

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox