Overview
Content locking module for Drupal 8 locks your most valuable website content behind a block which could be unlocked by several ways, depending on Content locker block type.
Features
- Consent plugin. Implements a block, which can be unlocked by consent with an agreement or statement. Block contains 'Yes' and 'No' buttons.
- Sign in plugin. Implements a block which locks content for non-authorised users. Block contains 'Log in' and 'Register' buttons.
Implements a content block, which can be unlocked by consent with an agreement or statement which is displayed in the block. - New feature in Sign in plugin. Administrator is able to define the roles, which will have permissions to view locked content
- Hide content using Ajax
- Hide content using CSS (visibility: hidden)
- Hide several fields using Field Group 'Content locker'
- Hide a piece of content in WYSIWYG using shortcodes
- Enable/disable storing information about unlocked blocks in Cookies
- Predefined Themes styles
- Customize user messages
Requirements
- Field Group module enabled.
- Shortcode module enabled.
Tutorials
- See README.md or follow the below manual
- Download and install required modules (Field Group, Shortcode)
- Download and copy Content Locker module to sites/all/modules on your site.
- Install module
- Manage module settings on /admin/config/content/content-locker/settings page.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Access control
- Created by webcodin on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
