Summary | custom hook support for backend selection |
Queue | Ingo |
Queue Version | 1.1 |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | |
Requester | srrafa (at) usc (dot) es |
Created | 03/28/2006 (7036 days ago) |
Due | |
Updated | 12/30/2010 (5298 days ago) |
Assigned | 04/26/2006 (7007 days ago) |
Resolved | 05/26/2006 (6977 days ago) |
Milestone | |
Patch | Yes |
discussed here:
http://lists.horde.org/archives/ingo/Week-of-Mon-20070528/001345.html
Se also:
http://wiki.horde.org/IngoMulti
State ⇒ Rejected
php files too, so they allow this degree of flexibility.
defining all 3 backends in backends.php, use your hooks code right in
backends.php to figure out which backend the user belongs to, then
define only that one.
not a release version (see http://horde.org/source/contribute.php),
so that's what I was applying it against.
patches working on our production system as fast as possible.
I'll modify it using a CVS checkout if you finally find this patch useful.
'preferred' field equals $_SERVER['SERVER_NAME'] or
$_SERVER['HTTP_HOST']
In our University we have only one URL to access the webmail system
but three different IMAPservers wich need different backends (procmail
and sieve, the 3rd server is Exchange), so the unpatched system always
uses the same backend.
Currently, I have no idea on how to achieve this using backends.php
not a release version (see http://horde.org/source/contribute.php), so
that's what I was applying it against.
What about my question on why this is necessary?
from ftp.horde.org and it applies without errors to both files.
Taken from
State ⇒ Feedback
Also, is this really something that can't be done inside the
backends.php config file?
New Attachment: ingo.patch.tgz
I've opened an enhancement ticket for the passwd module to implement
a similar functionality (see
ticket #3821)I'll update it accordingly when we close all the pending issues with
this ticket
New Attachment: hooks.php.dist
Here you have an example of the custom hook. I need a little more time
to address the rest of the issues. I'll upload it tomorrow.
State ⇒ Feedback
different hook name (_ingo_hook_backend_select), and provide an
example for horde/config/hooks.php.dist?
Assigned to
State ⇒ Assigned
Priority ⇒ 1. Low
State ⇒ New
New Attachment: ingo-h3-1.1.patch.tgz
Queue ⇒ Ingo
Summary ⇒ custom hook support for backend selection
Type ⇒ Enhancement
conf.xml.patch for config/conf.xml
Ingo.php.patch for lib/Ingo.php
They add suport for one custom hook for backend Selection
(_ingo_hook_selectBackend)