Hi all!
@first: many thanks to the developers, GREAT piece of software.
I'll help if i can.
But first a: LDAP worked out of the box, i got the expected userlist and their data.
Now, i would like to show now only "cn, sn,gn,email" but also the "telephoneNumber".
Now the question: how do i accomplish it?
Simply add the
'phone_field' => 'telephoneNumber',
in the main.inc.php and appropriate label in the Language did not worked.
How then?
Thank you in advance!
I would love to be able to display additional fields like address and phone number too
Hi! I know how you can do it
In addition to Ilya Ruprecht actions we need to edit next files in program/steps/addressbook:
show.inc
save.inc
edit.inc
Find and edit variable
$a_show_cols = array('name', 'firstname', 'surname', 'email', 'phone', 'title', 'company');
like that.
Don't forget to add keys in main.inc.php like
'phone_field' => 'telephoneNumber',
'title_field' => 'title',
'company_field' => 'o',
and to labels.inc -
$labels['phone'] = 'Telephone';
$labels['title'] = 'Dolzhnost';
$labels['company'] = 'Company';
Does this work for you guys? Because I've tried with the 0.2 alpha version and now 0.3 beta and I only get the labels, no information :(:o
I've checked that I typed in the field names right and that there is actual info in them ,)
/yosh
nvm, I tried to substitute one of the standard fields with my ldap cell phone number field, didn't work :/ Something else is wrong here...
yessir, it's non-standard ldap attribute names. Like 'mobile' instead of 'telephoneNumber'. If I use telephoneNumber, I get the correct info. Anybody knows how to fix so that I can read all of the funky attributes? :/
I have success does it in iRedMail ldap backend.
iredmail - Project Hosting on Google Code (http://code.google.com/p/iredmail/) I test in 0.6rc1 in ubuntu 910
program/steps/addressbook:
show.inc
save.inc
edit.inc
$a_show_cols = array('name', 'firstname', 'surname','mobile', 'email');
main.inc.php
'mobile_field' => 'mobile',
/roundcubemail/program/localization/en_US/labels.inc
$labels['mobile'] = 'Mobile';