[opencms-dev] hide advanced button in properties dialog

Mario Jäger m.jaeger at alkacon.com
Thu Jul 8 09:44:25 CEST 2010


Hi Giuseppe,

Yes, this is a feature provided 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>
     ...

-- 
Kind Regards,
Mario.
 
-------------------
Mario Jäger
 
Alkacon Software GmbH  - The OpenCms Experts                    
http://www.alkacon.com - http://www.opencms.org 


Giuseppe Sorce schrieb:
> Hi all,
> I know, it's an old discussion... but I'll try to ask again.
> I'm wondering if there is a way to prevent the advanced button to show up
> when editing properties for a resource or at least a way to preventing the
> update of these advanced properties (for users that are not admistrators or
> projectmanagers).I remember it is a new feature provided by OpenCms 7.5.1. 
> Isn't it?
>
> Thank you in advance for your reply.Giuseppe SorceEngineering Ingegneria 
> Informatica S.p.A.Direzione Centrale Ricerca e InnovazioneV.le Regione 
> Siciliana Nord-Ovest, 727590146 - PalermoPhone: +39 091 7511723Fax  : +39 
> 091 7511720E-mail: giuseppe.sorce at eng.it 
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>   



More information about the opencms-dev mailing list