boehsermoe / luya-blockcollection
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:CSS
Type:luya-extension
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: 2025-03-04 20:50:51 UTC
README
File has been created with module/create
command.
Installation
In order to add the modules to your project go into the modules section of your config:
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', // ... ], ];
Layout body
// ... <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> // ...