luyadev/luya-module-addressbook

This module provides a simple addressbook management for admin and frontend rendering.

1.0.4 2022-03-08 12:35 UTC

This package is auto-updated.

Last update: 2024-12-08 18:16:09 UTC


README

LUYA Total Downloads Latest Stable Version Join the chat at https://gitter.im/luyadev/luya

LUYA address book module

This module is the result of the comprehensive LUYA module lessons.

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:

Settings permissions

Integrate the frontend module

Create a module page in CMS and choose the addressbook module:

Creating the module page

Demo

The Active Window in the admin module will allow you to send an email to all group members:

Showing the ActiveWindow

The frontend module will display all contacts for each group and you can get additional detailed infos by clicking on a contact:

address book frontend