Download the PHP package novactive/ezprotectedcontentbundle without Composer
On this page you can find all versions of the php package novactive/ezprotectedcontentbundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download novactive/ezprotectedcontentbundle
More information about novactive/ezprotectedcontentbundle
Files in novactive/ezprotectedcontentbundle
Package ezprotectedcontentbundle
Short Description Novactive eZ Protected Content Bundle is an Ibexa bundle that provides quick protection on Contents
License MIT
Homepage https://github.com/Novactive/NovaeZProtectedContentBundle
Informations about the package ezprotectedcontentbundle
Novactive eZ Protected Content Bundle
This repository is what we call a "subtree split": a read-only copy of one directory of the main repository. It is used by Composer to allow developers to depend on specific bundles.
If you want to report or contribute, you should instead open your issue on the main repository: https://github.com/Novactive/Nova-eZPlatform-Bundles
Documentation is available in this repository via .md files but also packaged here: https://novactive.github.io/Nova-eZPlatform-Bundles/master/ProtectedContentBundle/README.md.html
A bundle that provides quick password protection on Contents.
How it works
Allows you to add 1 on N password on a Content in the Admin UI. Once a protection is set, the Content becomes Protected. In this situation you can have 3 new variables in the view full
- canReadProtectedContent (always)
- requestProtectedContentPasswordForm (if content is protected by password)
- requestProtectedContentEmailForm (if content is protected with email verification)
Allowing you do:
You can also manage this globally through the pagelayout wrapping the content block.
Once you have unlocked the content, canReadProtectedContent will be true
HTTP Cache is disabled for Protected Content.
Installation
Installation steps
Add the lib to your composer.json, run composer require novactive/ezprotectedcontentbundle to refresh dependencies.
Then inject the bundle in the bundles.php of your application.
Add routes
Copie migration files
Install the database schema
Varnish
This module add a cookie to unlock the contents that match it, for that reason you want to keep all the cookie that starts with PasswordProvided::COOKIE_PREFIX (i.e: protected-content-).