[horde] Define standard portal layout for all user

Etienne Goyer etienne.goyer at linuxquebec.com
Fri Sep 26 04:58:52 PDT 2003


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.

On Fri, Sep 26, 2003 at 12:38:53PM +0200, Lars Kirchhoff wrote:
> Hi,
> 
>   I just upgraded to horde 2.2.4 and imp 3.2.2. Now I'm looking
>   to configure a standard layout for the horde portal. I want
>   to have a standard layout with the folder index of imp, the
>   mini search fom turba and the calender overview.
>   Is there a way in the configuration files to set this default
>   layout for every user?
> 
> /lars
> 
> 
> 
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org

-- 
Etienne Goyer                    Linux Québec Technologies Inc.
http://www.LinuxQuebec.com       etienne.goyer at linuxquebec.com



More information about the horde mailing list