How to create multiple slider?
-
How to create multiple slider? And also custom design for slider.
-
You can check this article for creating sliders on bagisto: https://bagisto.com/en/add-slider-in-bagisto-home-page/
-
Basically I want make my own slider/package
Also link them with existing categories/productsMy problem is how can I perform CRUD operation? Please suggest me a tutorial.
-
Hi,
You can create multiple silder in our existing package. If you want to change it design, then there is two way -
- create theme
- override our view files.
For theme, you can follow this link - https://bagisto.com/en/create-custom-theme-in-bagisto/
For Second one - To override layout, you can create your own view in laravel's default view folder.
Check laravel's default view folder (resources -> views), you will find a folder name as vendor, In this vendor folder create your own view but make sure that it consist the same directory structure as package have.
For shop, create a folder name shop in this folder create a same directory of view as shape package consist.
Example - like I have to override master file , then in shop folder i will create layouts folder & inside this folder, create file name master.blade.php & write own code here & same for slider file also.For creating our own package, you can follow this link where we have a article for creating custom modules - https://bagisto.com/en/step-by-step-guide-for-bagisto-module-development/
Basically sliders are linked with channel, for categories, you can separately upload images.
For CRUD operation, I am mentioning some of link, please follow it.
https://laravel.com/docs/5.8/controllers#resource-controllers
https://appdividend.com/2017/10/15/laravel-5-5-crud-example-tutorial/
If you find any diffidently to implement all of above, please write to us.
Thanks
Rahul Shukla -
Hi Rahul !
I tried to override the view of slider but is not working, i created in the laravel´s view folder (resources/views/vendor/home/slider.blade.php) but there aren´t any changes, i dont know what's happening, can you help me please?