boehsermoe/luya-blockcollection

There is no license information available for the latest version (dev-master) of this package.

Installs: 39

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:CSS

Type:luya-extension

dev-master 2019-07-14 06:09 UTC

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>
    // ...