[imp] Setting Preferences

Neil Wilson neil at dcdata.co.za
Tue Oct 18 00:30:28 PDT 2005


Jacob Elderwrote:
> horde/conf.php should include something like this:
  > $conf['prefs']['params']['driverconfig'] = 'horde';
> $conf['prefs']['driver'] = 'sql';

Ah of course, yes, I'm using sql.

> The $prefGroups structure is just structural. Further down in that file, 
> you
> will find $_prefs['sortorder'] and $_prefs['sortdir']. Both of these 
> should be
> unlocked.

// user preferred sorting direction
$_prefs['sortdir'] = array(
     'value' => 0,
     'locked' => false,
     'shared' => false,
     'type' => 'enum',
     'enum' => array(0 => _("Ascending"),
                     1 => _("Descending")),
     'desc' => _("Default sorting direction:"));

I presume this is what I'm looking for?

Surely if its not locked, then when I user sets it, it should stay as 
what they set it to?

Thanks...







More information about the imp mailing list