Skip to content

collective/collective.pluggablelogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

collective.pluggablelogin overrides the standard Plone login form with a template using a portlet manager, so that various login components can be configured.

image

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.

About

Turns the login form into a portlet manager for easier customization

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages