[v4.0] Portlet Blacklists

Jamela Black edited this page Aug 2, 2014 · 1 revision

Portlet Blacklists

Portlets can be blacklisted so that new instances cannot be created. This can be used to turn off some portlets for security, convience or otherwise. By default, the following portlet types are blacklisted (as 'deprecated').

  • LoginPortlet (:login_portlet)
  • DynamicPortlet (:dynamic_portlet)
  • ForgotPasswordPortlet (:forgot_password_portlet)

Modifying the blacklist

# Prevention creation
config.cms.content_types.blacklist += [:email_page_portlet]

# Allowing creation
config.cms.content_types.blacklist -= [:login_portlet]
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.