yireo/yireo-xmllayouthints

此包已被弃用且不再维护。作者建议使用yireo/magento1-xmllayouthints包。

在前端显示XML布局名称

安装: 6

依赖: 0

建议: 0

安全: 0

星星: 1

关注者: 2

分支: 0

开放问题: 0

类型:magento-module

dev-master 2017-08-17 13:57 UTC

This package is auto-updated.

Last update: 2022-02-01 13:04:22 UTC


README

安装

您可以通过多种方式安装此模块

  1. 从我们的网站上下载MagentoConnect包并将其上传到您自己的Magento Downloader应用程序。

  2. 从我们的网站上下载Magento源代码存档,解压缩文件并将文件上传到您的Magento根目录。请确保刷新Magento缓存。完成操作后,请确保注销。

  3. 使用modman为您安装git仓库

    modman init modman clone https://github.com/yireo/Yireo_XmlLayoutHints modman update Yireo_XmlLayoutHints

  4. 使用composer。见下文。

使用composer的说明

使用composer安装此扩展。首先确保使用正确的设置初始化composer

composer -n init
composer install --no-dev

接下来,修改您的本地composer.json文件

{
    "require": {
        "yireo/magento1-xmllayouthints": "dev-master",
        "magento-hackathon/magento-composer-installer": "*"
    },    
    "repositories":[
        {
            "type":"composer",
            "url":"https://packages.firegento.com"
        },
        {
            "type":"composer",
            "url":"https://satis.yireo.com"
        }
    ],
    "extra":{
        "magento-root-dir":"/path/to/magento",
        "magento-deploystrategy":"copy"           
    }
}

确保正确设置magento-root-dir。通过运行以下命令测试:

composer update --no-dev

完成。