phpldapadmin – Select a template to edit the entry
With Debian Squeeze came version 1.2.0.5-2 of phpldapadmin. Since that release (or maybe an earlier 1.2*) it wants you to “Select a template to edit the entry”. Which _is_ annoying. I’d not been able to find much on a quick google query so i went with a – i guess – rather dirty solution.
for file in /etc/phpldapadmin/templates/modification/*.xml; do mv $file $file.unused; done
Now phpldapadmin is using the ‘default’ template for every edit. Easy as it was before version 1.2.
Update 1:
According to the comment from dizzy and the link provided you can just set:
$config->custom->appearance['custom_templates_only'] = true;
in your config.php
This will disable all the default templates. But be aware that this will disable the templates for editing entries and those for ‘createing new entries’. (Thanks to dizzy)
dizzy
20 May, 2011 - 15:10
You dont need to do that.
Look at this config item:
http://phpldapadmin.sourceforge.net/wiki/index.php/Config:appearance:custom_templates_only
Mike Conigliaro
25 July, 2011 - 21:41
Man, this has been bugging me for a while now. Thanks!
Luis Angel Diaz
25 October, 2012 - 16:33
Man, thanks for the information
Thanks again.