Download the PHP package noking50/module_banner_carousel without Composer
On this page you can find all versions of the php package noking50/module_banner_carousel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package module_banner_carousel
Module Banner Carousel
banner carousel
Installing
1. Install from composer
2. Publish resoure
It would generate below files config/module_banner_carousel.php resources/lang/vendor/module_banner_carousel/ resources/views/vendor/module_banner_carousel/
3. configure file config/module_banner_carousel.php
-
set data table name
- set each using banner page configure
4. migration
create banner carouse database table, table name will be config file settings above
Usage
Package method
- list backend
$output is an array contains key: 'dataSet_module_banner_carousel' - list of banner data
- list frontend
$output is an array contains key: 'dataSet_module_banner_carousel' - list of banner data
- get data detail
$output is an array contains key: 'dataRow_module_banner_carousel' - Model data from given id 'form_choose_lang' - list of all available language and indicate each language has setting value
- get required data for add page
$output is an array contains key: 'form_choose_lang' - list of all available language and indicate each language has setting value 'dataSet_module_banner_carousel' - list of ordered and active banner data
- get data detail and other required data for edit page
$output is an array contains key: 'dataRow_module_banner_carousel' - Model data from given id 'form_choose_lang' - list of all available language and indicate each language has setting value 'dataSet_module_banner_carousel' - list of ordered and active banner data
- add data
$output is an array contains key: 'msg' - success message
- edit data
$output is an array contains key: 'msg' - success message
- change data status
$output is an array contains key: 'msg' - success message
- delete data
$output is an array contains key: 'msg' - success message
default controller
using a default controller in Module\Controllers\ModuleBannerCarouselController
- set Route like below
'module_banner_carousel_group' is which group setting in config will be used
- set view set views in resources/views/vendor/module_banner_carousel/