Contact management plugin for bludit to manage contacts and show them on your website
After activating this plugin you will find a link to the plugins page in the admin panel.
In the second tab you can create categories to group contacts.
If you want to delete a category, just empty the input field and hit save.
In the third tab you can create fields which are available later in the contacts form.
If you want to delete a field, just empty the input field and hit save.
Remember to adjust your contactcard.php that the new fields are shown correctly.
To show a contact on a page, just copy the placeholder snippet you see in the contactlist.
This placeholder will be replaced with the contactcard.
To show a list of contacts of a certain category, just place the shortcode CONTACTLIST{<CATEGORYID>} on a page.
You can find the category id in the category list view below the inputfield.
You can also specify an own template for a list-view. Just place the shortcut CONTACTLIST{<CATEGORYID>;<TEMPLATENAME>} on a page.
The templatename must be lowercase and alphanumeric.
For example: CONTACTLIST{staff;stafflist}. The plugin is looking for a file called categorylist.stafflist.php. If it cannot find it,
the default template will be used.
The plugin is looking for a file called contactcard.php in your themes folder. If you want to customize the card, just copy the layout/contactcard.php in your themes folder and edit it. In this file you have access to the object $fields and $contact to access all information you want to place. Just have a look to the default contactcard.php.
The plugin is looking for a file called categorylist.php in your themes folder. If you want to customize the card, just copy the layout/categorylist.php in your themes folder and edit it. In this file you have access to the object $fields and $filteredcontacts to access all information you want to place. Just have a look to the default categorylist.php.