在管理面板 magento 中显示模板路径 [英] Show template path in admin panel magento
本文介绍了在管理面板 magento 中显示模板路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 magento 管理面板,我想像前端一样使用模板路径,我通过安装扩展进行了尝试,但它不起作用.请告诉我我该怎么做?
I am working with magento admin panel, I want to on template path as like we do for front end, I tried it by installed an extention, but its not working.Please let me know how can I do that ?
推荐答案
转到
app > code > core > Mage > core > etc > system.xml
app > code > core > Mage > core > etc > system.xml
第 512 行
你可以看到这个
<template_hints translate="label">
<label>Template Path Hints</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>20</sort_order>
<show_in_default>0</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</template_hints>
将
更改为 1 并保存.
Change the <show_in_default>
to 1 and save.
然后转到管理面板 system >配置>开发人员 >调试
启用路径提示.
Then goto admin panel system > configuration > developer > Debug
Enable path hint.
干杯
这篇关于在管理面板 magento 中显示模板路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文