在管理页面中启用模板路径提示 - Magento [英] Enable template path hint in admin pages - Magento
问题描述
我想在管理面板中启用模板路径提示.我知道如何为前端做到这一点,但对于后端??我实际上想编辑管理面板.
I want to enable template path hints in admin panel. I know how to do it for the front end, but for back end?? I actually want to edit the admin panel .
提前致谢..
推荐答案
直接改数据库即可.如果您有像 phpMyAdmin 这样的东西,这是获得访问权限的好方法.输入此 SQL.
You can do it by changing the database directly. If you have something like phpMyAdmin that is a good way to gain access. Enter this SQL.
INSERT INTO `core_config_data` (`scope`, `scope_id`, `path`, `value`)
VALUES ('websites', '0', 'dev/debug/template_hints', '1');
当您完成路径提示后,只需从 core_config_data
中删除匹配的记录或将 value
字段更新为 0
而不是删除整个记录,这可能是您刚刚添加后的最后一个.
When you are done with path hints just delete the matching record from core_config_data
Or update the value
field to 0
instead of deleting the whole record, it will probably be the last one since you've just added it.
这篇关于在管理页面中启用模板路径提示 - Magento的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!