Search code examples
phppluginsadminer

Adminer Tables-Filter plugin with Pematon / adminer-custom


I want to use the tables-filter plugin with the pematon/adminer-custom package.

Tables-filter works fine with a plain adminer.

Problem: In pematon/adminer-custom Tables-filter doesn't show on the screen.

I have been looking through the source code trying to find what may be excluding it or hiding it. I can't find what is preventing it from showing.

Can anyone suggest how I might enable the tables-filter in pematon/adminer-custom?


Pics and references.

adminer-custom

adminer original

tables-filter plugin

git repo of my adminer-custom with the tables-filter enabled


tables-filter SHOWING in adminer original

table-filter showing in adminer original


tables-filter NOT SHOWING in pematon adminer-custom

tables-filter not showing in pematon adminer-custom


Solution

  • The problem is that both AdminerSimpleMenu and AdminerTablesFilter define method tablesPrint. The first plugin wins and the method from the second plugin is not called at all. So, the only solution right now is to disable AdminerSimpleMenu. Just delete it from your index.php.