php 在 magento 1.9.0.0 中如何启用模板路径提示?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24273443/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
In magento 1.9.0.0 how can I Enable template path Hint?
提问by Chirag Savsani
I am trying to turn on template path hint in magento 1.9.0.0 but it's not working.
我正在尝试在 magento 1.9.0.0 中打开模板路径提示,但它不起作用。
But in magento 1.8.0.0 it's fully working. How can I turn it on in magento 1.9?
但是在 magento 1.8.0.0 中它完全正常工作。如何在 magento 1.9 中打开它?
回答by Krishna Sunuwar
I see that you have selected store view, Main Website. Please select website view e.g. English and enable template path.
我看到您选择了商店视图,主网站。请选择网站视图(例如英语)并启用模板路径。
回答by Andriy Leshchuk
回答by suruthi
To enable template path hints follow the following steps:
要启用模板路径提示,请按照以下步骤操作:
- Go to Magento admin panel->systems->configuration
- Choose your store view on top left corner in Current Configuration Scope ex:english
- Go to Advanced tab. Under that click on Developer->Debug. If you want both block and view template path hints, click yes on Template path hints (phtml files) and Add Block Names to Hints.
- Refresh your frontend
- List item
- 转到 Magento 管理面板->系统->配置
- 在 Current Configuration Scope 的左上角选择您的商店视图,例如:english
- 转到高级选项卡。在该下单击 Developer->Debug。如果您需要块和视图模板路径提示,请单击模板路径提示(phtml 文件)和将块名称添加到提示上。
- 刷新你的前端
- 项目清单