chuckbe/chuckcms-module-booker

There is no license information available for the latest version (v0.1.31) of this package.

Installs: 62

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:Blade

pkg:composer/chuckbe/chuckcms-module-booker

v0.1.31 2023-04-24 13:39 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() !!}