Forums / Extensions / OE - Different layouts depending on users

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

OE - Different layouts depending on users

Author Message

Pierre Martel

Thursday 24 March 2011 6:06:13 am

Hi,

Is it possible to have OE in mini layout for some users, and in full layout for other users ? I don't find it in role&policies..

Sorry if the answer is somewhere.

Thanks ;)

Consultant Web
Audaxis France - L'esprit libre
Tel: +33 (0)3 20 63 88 88

Damien Pobel

Thursday 24 March 2011 11:53:50 am

Hi Pierre,

the layout of OE is defined in the class definition from a list defined in settings. Apparently, in the template used to render the OE, this info is available in the variable $input_handler.editor_layout_settings that is used to configure OE. So you can probably do an override of this template to switch from one layout to another depending on the user.

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Pierre Martel

Friday 25 March 2011 1:29:46 am

Thanks Damien

Consultant Web
Audaxis France - L'esprit libre
Tel: +33 (0)3 20 63 88 88