Turns the login form into a portlet manager for easier customization
Project description
Introduction
collective.pluggablelogin overrides the standard Plone login form with a template using a portlet manager, so that various login components can be configured.
Configuration
Go to the Addons control panel and activate “Pluggable Login Page.”
Now if you go to /login while logged in as a Manager, you’ll see a “Manage portlets” link which you can use to manage the available login portlets. By default, the standard login portlet and a registration form portlet are enabled (the latter is only shown if self registration is enabled for the site).
As well as manual assignment via the web interface, the pluggable login page can also be assigned portlets via GenericSetup, in the same way as Plone’s other portlet managers can. For example, to register a custom porlet on the pluggable login page, use this an example within portlets.xml inside a GenericSetup profile:
<portlets
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="plone">
<assignment
name="navigation"
category="context"
key="/"
manager="collective.pluggablelogin"
type="my.product.portlets.CustomLoginPortlet"
insert-before="*"
visible="True">
<property name="title">string:Login portlet title</property>
<property name="description">string:Example property</property>
</assignment>
</portlets>
Credits
Developed by David Glick and Groundwire Consulting. Sponsored by the Innocence Project.
To-do
Refactor inline styles on the logged in or out views.
Changelog
1.1 (2014-01-30)
Add id to the login-portlets div, ensuring the element can be selected on the page. [davidjb]
Improve styles for login page, normalising with logged out page. [davidjb]
Add logged out page templates to display pluggable login. [davidjb]
Improve styles and formatting for login page. [davidjb]
Fix issue with empty <div> generated on login page after trailing </html> end tag. [davidjb]
1.0 (2012-05-10)
Initial implementation [davisagli]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.pluggablelogin-1.1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bfebafdcf2dc2f3ac11bdb18a62ebcb829340917049bd100db6e45a46fd5871 |
|
MD5 | 9f1ac35fbceb43db563aa7ea99a8672f |
|
BLAKE2b-256 | 476682fa143535a9df04198061214a3a916edc12c5781a2b58fec26b2855a651 |