[imp] Making basic view permanent

Arjen de Korte arjen+horde at de-korte.org
Wed Apr 8 12:25:19 UTC 2015


Citeren bra <bra at fsn.hu>:

>>>>> Is there a way how to make basic view permanent? In IMP5 there was
>>>>> special setting allowing to disable dynamic capabilities.
>>>>
>>>> Horde: $conf['user']['force_view']
>>>
>>> this will make changes global, not user-specific, am I right?
>>
>> Not necessarily.  A configuration value can be set via any valid PHP
>> expression, including the ability to write code to conditionally set
>> this based on the current Horde user, if desired.
> Could you please post an example of this? (how to access the current
> authenticated user ID from conf.php)

You don't. That's what hooks are for. Have a look inside the example  
'hooks.php.dist' that lives in the same directory as your main  
conf.php file (horde/config/hooks.php.dist).

-- 
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.



More information about the imp mailing list