Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: well_fans on December 05, 2005, 03:09:54 PM
-
On previous versions of Horde & SME to make the email groups appear in the address book for the compose window it was a fairly simple task to change the template for LDAP to use 'objectclass' => '*' and carry out an email update. On the current setup though when I modify the template located at /etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP to the same and remove the array info thats there by default there is no change to the listings in the address book. I have changed the title so that its now a little more user friendly and says "School" instead of LocalLDAP using this file and it works okay. Searched here and Horde mailing lists but cant find any suggestions. Anyone solved this already?
-
Noticed you modified the template in...
/etc/e-smith/templates....
Read this http://no.longer.valid/phpwiki/index.php/Customizing
This will show how to correctly make a template, this might be why something is not happening as you would expect?!
-
While that was certainly the procedure for earlier versions of SME I am not convinced that is still current for SME 7. The signal-event email-update uses the template files that I have modified. I have used these templates to modify parts of IMP and Turba successfully. Perhaps someone could clarify which is the correct method for SME 7. I am however convinced that it is not that I am editing the wrong file - worst case scenario with that would be that I'd lose the settings every restart.
-
Yes it's still the way to do it look... see here...
http://smeserver.sourceforge.net/TemplatingSystem?v=iyc
you still create template's in the...
/etc/e-smith/templates-custom
as any in the above directory will override what's in the /etc/e-smith/templates << never should change templates within that dir
-
ok thanks for that pointer. I'll try copying the fragment to the custom template folder and making my changes there. See if that brings any more success.
-
as I suspected the error/problem does not exist because of the wrong file being edited. I've now followed byte's instructions and made the custom template-thanks again for that pointer. Still no joy? Anyone got other suggestions?
-
anyone? Surely I'm not the only one with this problem? Fix must be fairly simple if you know you're way round Horde and SME ldap directory?