johnnymcweed/luya-module-event

The event module will provide you a basic event system with categories. You can show past, future and current events.

Installs: 3 427

Dependents: 1

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 2

Open Issues: 0

Type:luya-module

dev-master 2018-03-01 16:33 UTC

This package is not auto-updated.

Last update: 2024-04-14 03:06:45 UTC


README

The event module gives the possibility to add events to a Luya application. Therefore events can be added in the backend, which get shown on the frontend afterwards. It is possible to list all, past, current and future events. It is possible to show all categories or a single category.

Installation

For the installation of modules Composer is required.

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

Configuration

return [
    'modules' => [
        // ...
        'event' => 'johnnymcweed\event\frontend\Module',
        'eventadmin' => 'johnnymcweed\event\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.