>> Hi all
>>
>> "Squirrelmail : Addressbook" pop-up window has default columns
>>
>> "Name", "E-Mail", and "Info"
>>
>> I'm retrieving addressbook column data from an LDAP backend, and am
>> wondering which file/lines to edit to switch the "Info" column
>> so that the
>> telephoneNumber attribute is returned instead of the "o="
>> (organization)
>> attribute.
>
> file functions/abook_ldap_server.php
>  function search
>
> you need to change
> if[!empty($row['ou']) {
>    $label = something
> ....
> }
>
> looks like currently ldap backend retrieves phonenumber, but address book
> frontend does not expect such information.
>
> or use ldapquery plugin.
> http://article.gmane.org/gmane.mail.squirrelmail.plugins/5265/match=ldapquery
>
> --
> Tomas


I changed this to $label = newlabel, but that only changed the default for
empty value, so that any row (under info column) without a returning value
carries the value "newlabel", and any row that has an attribute value
still shows the standard default info.

I did try last week to retrieve ldapquery plugin, but (as the followup
noted) CVS is down.

Strange that phonenumber is among other attributes requested in the
addressbook query, but not "accounted for" in the UI...just trying to
understand so I can customize it. :)

Thanks!


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to