[imp] expand names

Robert Borden rob@freshstudios.com
Thu, 16 Aug 2001 16:27:20 -0400


prefs.php
// addressbook selection widget
$_prefs['sourceselect'] = array('type' => 'special');

// addressbook(s) to use when expanding addresses
$_prefs['search_sources'] = array(
    'value' => 'LocalSQL',
    'locked' => false,
    'shared' => false,
    'type' => 'implicit'
);

// addressbook to use for adding adresseses
$_prefs['add_source'] = array(
    'value' => '',
    'locked' => false,
    'shared' => false,
    'type' => 'implicit'
);




registry.php

$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';
// $this->registry['auth']['login'] = 'gollem';
// $this->registry['auth']['logout'] = 'gollem';
$this->registry['mail']['compose'] = 'imp';
$this->registry['contacts']['search'] = 'turba';
$this->registry['contacts']['add'] = 'turba';
$this->registry['contacts']['sources'] = 'turba';
$this->registry['net']['finger'] = 'nic';
$this->registry['tasks']['search'] = 'nag';
$this->registry['tasks']['list'] = 'nag';
$this->registry['tasks']['add'] = 'nag';

$this->services['turba']['contacts']['search'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaExpandAddresses',
    'args' => array('addresses', 'addressbooks')
);
$this->services['turba']['contacts']['add'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaAddAddress',
    'args' => array('name', 'address', 'addressbook')
);
$this->services['turba']['contacts']['sources'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaGetSources',
    'args' => array('writeable')
);





----- Original Message -----
From: "Chuck Hagenbuch" <chuck@horde.org>
To: <imp@lists.horde.org>
Sent: Thursday, August 16, 2001 4:21 PM
Subject: Re: [imp] expand names


> Quoting Robert Borden <rob@freshstudios.com>:
>
> > expand names is still not working.  address book seems to work fine.
> > prefs are working.  LDAP is working. I can search names. but address
> > book wont expand, page just refreshes.
>
> It would be helpful to have some information about how the registry is set
up,
> if you have the Addressbook prefs section set up and working, etc.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>