Downloads
Stars
Version
This is where your description should go. Take a look at contributing.md to see a to do list.
Via Composer
composer require ctrlwebinc/voyager-modals
php artisan voyager-modals:install
$blocks['block-modal'] = [
'name' => 'Modal CTA',
'template' => 'voyager-modals::modal-cta',
'fields' => [
'cta_text' => [
'field' => 'cta_text',
'display_name' => 'CTA Text',
'partial' => 'voyager::formfields.text',
'required' => 0,
],
'modal' => [
'field' => 'modal',
'display_name' => 'Modal',
'partial' => 'voyager-modals::formfields.modal-selector',
'required' => 1,
],
],
];
Log in to your voyager admin and go to Modals. Click on Add New and fill the form. You can then use the Block Content action to create the modal's body.
Go to your page's block contents and add the Modal CTA block. Enter a title and chose your modal.
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
MIT. Please see the license file for more information.
Merci au Théâtre du Nouveau Monde, et à Olivier Chassé en particulier, pour son soutien dans le développement initial de ce projet.