[opencms-dev] hide advanced button in properties dialog

Giuseppe Sorce sorce at eng.it
Thu Jul 8 10:49:18 CEST 2010


It works!

Grazie



Giuseppe Sorce
Architetture e Consulenza
Direzione Centrale Ricerca e Innovazione
giuseppe.sorce at eng.it

Engineering Ingegneria Informatica spa
Viale Regione Siciliana Nord-Ovest, 7275 - 90146 Palermo
Tel. +39-091.7511723
Fax +39-091.7511720
www.eng.it



----- Original Message ----- 

  From: Mario Jäger 
  To: The OpenCms mailing list 
  Cc: damatra at libero.it 
  Sent: Thursday, July 08, 2010 9:44 AM
  Subject: Re: [opencms-dev] hide advanced button in properties dialog


  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
  >   

  _______________________________________________
  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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100708/caa66b16/attachment.htm>


More information about the opencms-dev mailing list