luyadev / luya-module-addressbook
This module provides a simple addressbook management for admin and frontend rendering.
Installs: 204
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 2
Open Issues: 0
Type:luya-module
Requires (Dev)
- luyadev/luya-testsuite: ^2.0
README
LUYA address book module
This module is the result of the comprehensive LUYA module lessons.
- how to create the addressbook frontend and admin module.
- how to create an Active Window and how to add it to the CRUD view of the group model.
The module itself provides a simple way to manage multiple address records and to render them in the frontend. It also allows to to group the different contacts and send an email to all members of a group.
Installation
Require the address module via composer
composer require luyadev/luya-module-addressbook
and install/update with composer install
oder composer update
Add both address book modules (admin and frontend) to your project config:
'modules' => [ /* ... */ 'addressbookadmin' => 'luya\addressbook\admin\Module', 'addressbook' => 'luya\addressbook\frontend\Module', ]
Don't forget to register the modules with /vendor/bin/luya import
and set the permissions:
Integrate the frontend module
Create a module page in CMS and choose the addressbook
module:
Demo
The Active Window in the admin module will allow you to send an email to all group members:
The frontend module will display all contacts for each group and you can get additional detailed infos by clicking on a contact: