打开文档 app/code/core/Mage/Core/etc/system.xml
找到如下代码段
<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>1</show_in_default><!–修改此处为 1–>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</template_hints>
<template_hints_blocks translate="label">
<label>Add Block Names to Hints</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>21</sort_order>
<show_in_default>1</show_in_default><!–修改此处为 1–>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</template_hints_blocks>
如果这里的 <show_in_default>1</show_in_default> 的值为0,则只要把0改成1就可以在后台看到 这个项了。
顺便说一下Template Path Hints的位置。打开后台然后按以下顺序点击就可以找到了
System–>Configuration–>选择店铺(例如:Main Website)–>选择左侧菜单最后一项(Developer) –>展开debug,将Template Path Hints设置为yes,OK。
转自:http://hi.baidu.com/570851835/blog/item/d3c481099fc6e7cc63d98676.html
人人看电影网 www.rrkyy.com