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)


Comments

  1. Mike Conigliaro
    25 July, 2011 - 21:41

    Man, this has been bugging me for a while now. Thanks!

  2. Luis Angel Diaz
    25 October, 2012 - 16:33

    Man, thanks for the information
    Thanks again.

Leave a Reply

Your email address will not be published / Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.