chandu/bannerslider

横幅轮播

安装: 21

依赖项: 0

建议者: 0

安全: 0

星星: 0

关注者: 0

分支: 0

公开问题: 0

类型:magento2-module

1.0.3 2020-02-01 16:53 UTC

This package is auto-updated.

Last update: 2024-09-29 04:43:18 UTC


README

  1. 此模块旨在通过管理区域控制轮播横幅。
  2. 在管理区域中,您可以找到所有横幅的网格列表,您可以添加/编辑/删除横幅。
  3. 管理员可以为添加的任何横幅上传图片并提供该图片的链接。
  4. 此模块提供了一种将横幅添加到任何页面或静态块的功能。

兼容性: Magento 2.x

如何使用Composer安装

  1. 转到您的Magento安装目录
  2. 运行以下composer命令
composer require chandu/bannerslider
  1. 在M2根目录中运行命令
$ bin/magento module:enable Chandu_Bannerslider
  1. 然后运行以下命令
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento cache:clean
$ bin/magento cache:flush

用户信息

  1. 登录到您的Magento 2管理仪表板
  2. 转到横幅轮播->管理横幅
  3. 单击添加横幅以添加横幅图片详情
  4. 重复步骤2-3以添加更多横幅
  5. 要显示横幅轮播,请转到任何CMS页面或块并添加此块处理程序
{{block template="Chandu_Bannerslider::bannerslider.phtml" class="Chandu\Bannerslider\Block\Bannerslider" name="banners"}}
  1. 在前端清除缓存并刷新页面。

本模块使用的参考资料

  1. Magento文档
  2. Magento开发文档
  3. 现有的Magento源代码
  4. Ash smith博客
  5. Mageworld博客
  6. 一些关于前端工作的其他文章

构建此模块使用的资源

  1. PHPStorm
  2. VagrantBox (LAMP Stack)
  3. Git Bash

注意: 此模块仅手动测试。