在管理面板magento中显示模板路径 [英] Show template path in admin panel magento

查看:68
本文介绍了在管理面板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>代码>核心>法师>核心>等等> 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>

<show_in_default>更改为 1 并保存.

然后转到管理控制台system > configuration > developer > Debug启用路径提示.

Then goto admin panel system > configuration > developer > Debug Enable path hint.

欢呼

这篇关于在管理面板magento中显示模板路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆