[opencms-dev] hide advanced button in properties dialog
Schliemann, Kai
K.Schliemann at comundus.com
Thu Jul 8 10:01:00 CEST 2010
Hi Mario,
thanks for this excellent answer. I hope you don't mind, that I added this answer to the OpenCms Wiki:
http://opencms-wiki.org/Workplace_-_Explorer_View:_Hide_Advanced_property_button
Regards
Kai
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Mario Jäger
Gesendet: Donnerstag, 8. Juli 2010 09:44
An: The OpenCms mailing list
Cc: damatra at libero.it
Betreff: 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
More information about the opencms-dev
mailing list