chuckbe/chuckcms-module-booker
Composer 安装命令:
composer require chuckbe/chuckcms-module-booker
包简介
README 文档
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() !!}
统计信息
- 总下载量: 62
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-10-18