chuckbe / chuckcms-module-booker
Installs: 62
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: >=7.2.5
- barryvdh/laravel-dompdf: ^0.8.1||^1.0
- chuckbe/chuckcms: *
- jsvrcek/ics: ^0.8
- laravel/framework: ^6.20.26||^7.30.4||^8.82.2||^9.0
- mollie/laravel-mollie: ^2.0
- spatie/laravel-newsletter: ^4.1
This package is auto-updated.
Last update: 2024-10-24 17:02:45 UTC
README
Usage
- After installing and publishing the config file, fill in the required details
php artisan vendor:publish --provider="Chuckbe\ChuckcmsModuleBooker\ChuckcmsModuleBookerServiceProvider"
php artisan migrate
- Create a page for the order form in ChuckCMS and use a custom template file
- Inside that custom template file you can use the following method to call the necessary files
//use this to load css and styles
{!! ChuckModuleBooker::renderStyles() !!}
//use this to load js and scripts
{!! ChuckModuleBooker::renderScripts() !!}
//use this to load the form itself - do not wrap it in a container
{!! ChuckModuleBooker::renderForm() !!}
- Inside another custom template file you can use the following methods for the subscription files
//use this to load css and styles
{!! ChuckModuleBooker::renderSubscriptionStyles() !!}
//use this to load js and scripts
{!! ChuckModuleBooker::renderSubscriptionScripts() !!}
//use this to load the form itself - do not wrap it in a container
{!! ChuckModuleBooker::renderSubscriptionForm() !!}