[horde] turba: default column prefs for personal address book
guenter.bartsch at gmail.com
Thu Mar 27 21:05:55 UTC 2014
thanks for the quick reply
On Thu, Mar 27, 2014 at 1:55 PM, Jan Schneider <jan at horde.org> wrote:
>> we're still trying set preferences using hooks - with limited success.
>> for example, we would like to set kronolith's search_source to a
>> default value. we tried using the prefs_init hook:
>> public function prefs_init($pref, $value, $username, $scope_ob)
>> but this one doesn't seemed to get called for that particular
>> preference we're trying to modify - maybe we need to enable out hook
>> for this specific preference setting? if so, how?
> Please read the docs in horde/config/prefs.php and
those don't seem to mention the "search_source" pref we're looking for:
[horde at post config]$ grep search_source prefs.php hooks.php.dist
[horde at post config]$
could you provide a quick hint what info to look for / which hook to use?
does kronolith have separate prefs and separate hooks or where should
we specify that we'd like to have our hook called when kronolith's
pref is initialized?
further, are all prefs initialized, even those not found in the prefs
table in our DB or do we have to trigger pref initialization for those
More information about the horde