- This module is created to control slider banners via the admin area.
- In admin area you can find a grid list of all banners where you can add/edit/delete/ banners.
- Admin can upload image and provide a hyperlink to that image for any banner added.
- This module provides a facility to add banner to any page or static block.
Compability: Magento 2.x
How to Install Using Composer
- Go to your Magento Installtion Direction
- Run the below composer command
composer require chandu/bannerslider
- Run command in your M2 root directory
$ bin/magento module:enable Chandu_Bannerslider
- Then run these command
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento cache:clean
$ bin/magento cache:flush
User Information
- Log in to your Magento 2 admin dashboard
- Go to Banner Slider->Manage Banners
- Click Add Banner to add Banner Image details
- Repeat step 2-3 to add more banners
- To Show banner slider, go to any cms page or block and add this block handle
{{block template="Chandu_Bannerslider::bannerslider.phtml" class="Chandu\Bannerslider\Block\Bannerslider" name="banners"}}
- Clear cache and Refresh Page in frontend.
Reference Used on this Module
- Magento Documentation
- Magento Devdocs
- Exising Magento source code
- Ash smith Blog
- Mageworld Blog
- Some other articles for frontend work
Resources Used to build this module
- PHPStorm
- VagrantBox (LAMP Stack)
- Git Bash
Note: This module is only tested manually.