起初,它向我显示 Class 'simple_html_dom' not found in ...
但我找到了解决方案。现在,即使 Theme Developer
模块已激活,它也不会在左下角显示要检查的单选框,Drupal 也不会显示任何错误,但是...
在检查浏览器的控制台时,我发现了这个错误:
未捕获的类型错误:无法读取未定义的属性“themer_info”
这发生在第 43 行的文件 modules/devel_themer/devel_themer.js
中
有人让这个模块在 Drupal 7 中工作吗?
最佳答案
遇到了同样的问题并修复了它。 来自 devel_themer drupal 页面(https://drupal.org/project/devel_themer):
NOTE: Currently, Theme Developer does not work with the latest version of simplehtmldom API. You must use simplehtml API version 7.x-1.12 if you want Theme Developer > to function properly.
按照它的建议做了并且它起作用了,烦人的是弄清楚它是如此痛苦。
关于javascript - Drupal - Devel Themer 未显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21948708/