在管理面板magento中显示模板路径

Ash*_*war 2 magento

我正在使用magento管理面板,我想在模板路径上就像我们为前端做的那样,我通过安装扩展来尝试它,但它不起作用.请让我知道我该怎么做?

Mee*_*m R 7

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>
Run Code Online (Sandbox Code Playgroud)

将更<show_in_default>改为1并保存.

然后转到管理面板system > configuration > developer > Debug启用路径提示.

干杯