Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-member_plus
A collection of enhancements for contao members.
https://github.com/heimrichhannot/contao-member_plus
Last synced: about 1 month ago
JSON representation
A collection of enhancements for contao members.
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-member_plus
- Owner: heimrichhannot
- License: other
- Created: 2015-03-04T19:06:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T14:59:38.000Z (8 months ago)
- Last Synced: 2024-04-26T15:33:25.154Z (8 months ago)
- Language: PHP
- Size: 160 KB
- Stars: 4
- Watchers: 10
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
> This bundle is abandoned and not actively maintained anymore. Please use [https://github.com/heimrichhannot/contao-member-bundle](https://github.com/heimrichhannot/contao-member-bundle).
# Member Plus
A collection of enhancements for contao members.
## Features
- additional fields (headline, alias, academicTitle, position, addressText, image)
- tl_content support for members, to add additional member content
- memberlist content element, with jumpTo Detail Page (show member reader module on custom page, article_reader - show reader on article only!, article or external page)
- memberreader module### Login after Activation
- added reg_activate_login checkbox for Registration Module, that enables automatic login after account activation### Registration & Login with one Module (requires `heimrichhannot/contao-formhybrid`)
- domain whitelist
- optionally: show allowed domains in login form, or hide them but still check against them
- optionally: hide allowed domains list in frontend, but still check against them
- optionally: permanent redirect to jumpTo page after user was logged### Better Activation (requires `heimrichhannot/contao-formhybrid`)
- Registration will leave used activation keys in database and add a "ACTIVATED:" prefix before
- Tell the user if his token has already been used
- Tell user if token is invalid
- You can now overwrite "accountActivatedMessage" in "activateAccount" Hook
- Always redirect after activation or activation error to current page without token parameter in url (or reg_jumpTo page), and than display messages## Fields
## Hooks
### modifyDCRegistrationPlusForm (requires `heimrichhannot/contao-formhybrid`)
Modify the formhybrid Datacontainer array.
```
// config.php
$GLOBALS['TL_HOOKS']['modifyDCRegistrationPlusForm'][] = array('MyClass', 'modifyDCRegistrationPlusFormHook');```
```
// MyClass.phppublic function modifyDCRegistrationPlusFormHook(&$arrDca, \Model $objModule)
{
// manipulate the datacontainer and add fields, change labels and more
$arrDca['fields']['firstname']['eval']['placeholder'] = &$GLOBALS['TL_LANG']['tl_member']['myCustomFirstnamePlaceholder'];
}
```