boehsermoe / luya-blockcollection
该包的最新版本(dev-master)没有可用的许可证信息。
dev-master
2019-07-14 06:09 UTC
Requires
- luyadev/luya-module-cms: ^2.0|^1.0
- twbs/bootstrap: ^4.0
Requires (Dev)
- unglue/client: ^1.4
This package is auto-updated.
Last update: 2024-09-04 19:33:26 UTC
README
文件是用 module/create
命令创建的。
安装
要将模块添加到项目中,请进入配置文件的模块部分
return [ 'modules' => [ // ... 'blockcollection' => [ 'class' => 'boehsermoe\blockcollection\frontend\Module', 'useAppViewPath' => true, // When enabled the views will be looked up in the @app/views folder, otherwise the views shipped with the module will be used. ], 'blockcollectionadmin' => 'boehsermoe\blockcollection\admin\Module', // ... ], ];
布局主体
// ... <body class="homepage is-preload"> <?php $this->beginBody() ?> <div id="page-wrapper"> <?php echo $this->render('@blockcollection/views/layouts/_header') ?> <?php echo $content ?> <?php echo $this->render('@blockcollection/views/layouts/_footer') ?> </div> <?php $this->endBody() ?> </body> // ...