Forums / Extensions / OE - Different layouts depending on users

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