johnnymcweed/luya-module-place

The place module will provide you a basic place system.

dev-master 2018-04-25 16:38 UTC

This package is not auto-updated.

Last update: 2024-04-28 03:09:02 UTC


README

The place module gives the possibility to add places to a Luya application. Therefore places can be added in the backend, which get shown on the frontend afterwards.

Installation

For the installation of modules Composer is required.

composer require johnnymcweed/luya-module-place:dev-master 

Configuration

return [
    'modules' => [
        // ...
        'event' => 'johnnymcweed\place\frontend\Module',
        'eventadmin' => 'johnnymcweed\place\admin\Module',
        // ...
    ],
];

Initialization

After successfully installation and configuration run the migrate, import and setup command to initialize the module in your project.

1.) Migrate your database.

./vendor/bin/luya migrate

2.) Import the module and migrations into your LUYA project.

./vendor/bin/luya import

After adding the persmissions to your group you will be able to edit and add new news articles.

Example Views

There are default views set up. Use these or create your own custom views.