我启用了Magento的前端调试路径提示,但未显示。
Infos:
- Magento 2.3.0 with Porto Theme
- Php 7.2
- Already tested to change Magento Single Store MOde and Multistore Mode
- Already made di:compile
- Already tested blank Dev IP and my own IP
- Already changed Magento Modes default and developer
- Already cleaned and flushed the cache
- Already removed generated and pub static folders
Run Code Online (Sandbox Code Playgroud)
但是,Frontend中的红色提示线仍未显示。
请按照以下步骤操作:
Stores->Configuration->Advanced->Developer->Store View: Default Store View->
Enabled Template Path Hints for Storefront --> Yes
Enable Hints for Storefront with URL Parameter --> Yes
Parameter Value --> magento
Run Code Online (Sandbox Code Playgroud)
设置完之后,通过将param(?templatehints = magento)放在url中来检查前端-
http://localhost/test/index.php?templatehints = magento
| 归档时间: |
|
| 查看次数: |
794 次 |
| 最近记录: |