angel / carousels
An Angel CMS module for carousels.
Installs: 161
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 5
Forks: 1
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.3.0
- illuminate/support: 4.1.*
This package is not auto-updated.
Last update: 2024-11-05 03:23:43 UTC
README
This is a module for the Angel CMS.
Installation
Add the following requirements to your composer.json
file:
"require": { "angel/carousels": "dev-master" },
Issue a composer update
to install the package.
Add the following service provider to your providers
array in app/config/app.php
:
'Angel\Carousels\CarouselsServiceProvider'
Issue the following command:
php artisan migrate --package="angel/carousels"
php artisan asset:publish angel/carousels
Finally, open up your app/config/packages/angel/core/config.php
and add the module to the menu
array:
'menu' => array( 'Pages' => 'pages', 'Menus' => 'menus', 'Carousels' => 'carousels', // <--- Add this line 'Users' => 'users', 'Settings' => 'settings' ),
Usage
<?php $Carousel = App::make('Carousel'); $carousel = $Carousel::find(1); ?> @include('carousels::render')
If you need to modify the default display or carousel options:
php artisan asset:publish angel/carousels php artisan view:publish angel/carousels
And edit views/packages/angel/carousels/render.blade.php