johnnymcweed / luya-module-archive
The archive module will provide you a basic archive system.
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:luya-module
Requires
- johnnymcweed/luya-module-event: dev-master
- johnnymcweed/luya-module-person: dev-master
- johnnymcweed/luya-module-place: dev-master
- luyadev/luya-core: ~1.0.0
This package is not auto-updated.
Last update: 2025-03-08 16:15:46 UTC
README
The archive module gives the possibility to add an object archive to a Luya application. Therefore articles 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-archive:dev-master
Configuration
return [ 'modules' => [ // ... 'archive' => 'johnnymcweed\archive\frontend\Module', 'archiveadmin' => 'johnnymcweed\archive\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.