Horde: Set local user preference

To get current value for portal_layout enter in Horde PHP shell


echo $GLOBALS['prefs']->getValue('portal_layout');

paste result under value instead of a:0:{}

/var/www/horde4/config/prefs.d/portal_layout.php


// the layout of the portal page.
$_prefs['portal_layout'] = array(
// value = serialize(array())
'value' => 'a:0:{}'
);

Tags

Horde: Set local user preference