【问题标题】:Adminer Tables-Filter plugin with Pematon / adminer-custom带有 Pematon / adminer-custom 的 Adminer Tables-Filter 插件
【发布时间】:2018-04-29 21:59:19
【问题描述】:

我想在 pematon/adminer-custom 包中使用 tables-filter 插件。

Tables-filter 可以与普通管理员一起正常工作。

问题:在 pematon/adminer-custom Tables-filter 中没有显示在屏幕上。

我一直在查看源代码,试图找出可能排除或隐藏它的内容。我找不到阻止它显示的原因。

谁能建议我如何在 pematon/adminer-custom 中启用表格过滤器?


图片和参考资料。

adminer-custom

adminer original

tables-filter plugin

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


tables-filter SHOWING in adminer original


tables-filter NOT SHOWING in pematon adminer-custom

【问题讨论】:

    标签: php plugins adminer


    【解决方案1】:

    问题在于 AdminerSimpleMenu 和 AdminerTablesFilter 都定义了方法 tablesPrint。第一个插件获胜,第二个插件的方法根本不被调用。因此,目前唯一的解决方案是禁用 AdminerSimpleMenu。只需将其从您的 index.php 中删除即可。

    【讨论】:

      猜你喜欢
      • 2011-09-07
      • 1970-01-01
      • 2020-12-21
      • 1970-01-01
      • 1970-01-01
      • 2017-07-30
      • 1970-01-01
      • 2014-02-21
      • 2015-04-10
      相关资源
      最近更新 更多