[horde] Define standard portal layout for all user

Jan Schneider jan at horde.org
Fri Sep 26 05:09:14 PDT 2003


Zitat von Etienne Goyer <etienne.goyer at linuxquebec.com>:

> Using CVS HEAD, what I did was to configure the portal to my taste with
> a test user, grab the portal_layout preference from my mysql prefs
> backend :
>
>  select * from horde_prefs where pref_uid = 'testuser' and pref_name =
>  'portal_layout';
>
> and pasted the output in horde/config/prefs.conf :
>
> $_prefs['portal_layout'] = array(
>     'value' => <paste your stuff here>
>     'locked' => true,
>     'shared' => false,
>     'type' => 'implicit',
>     'desc' => 'Layout of portal page'
> );
>
> The "'locked' => true,' part make the portal layout uneditable by the
> user.  CVS HEAD hide the portal editing link if the portal_layout pref
> is locked.
>
> BTW, is the encoded object format as found in this pref documented
> somewhere ?  I may have to parse it outside of Horde to do automatic
> pref tweaking for my user and need to understand.  In last resort, I
> will read the code, but if a document exist on the subject I would start
> there.

http://php.net/serialize

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft



More information about the horde mailing list