首页 > 技术文章 > Magento的几个小技巧

magento 2013-12-06 14:39 原文

1:在magento的url(任意一个页面)后面添加   ?showLayout=handles   会显示该页面请求生成的所有操作(Handles)   如:

Handles For This Request

default
STORE_china
THEME_frontend_default_HWS
helloworld_index_index
customer_logged_out

(注:default处理器是Magento的默认处理器)

2:在magento的url(任意一个页面)后面添加   ?showConfig=true   会显示所有的模块配置(Handles)

3:在magento的url(任意一个页面)后面添加  ?showLayout=package  会显示Magento系统的包布局(magento所有的布局文件)

 添加 ?showLayout=package&showLayoutFormat=text  以text形式显示包布局

推荐阅读