PloneDocumentation
  • Documentation
  • Appendices
  • older manuals
  • Portlets
  • Previous
  • Next

Warning

This version is valid for an outdated version of Plone: 4.X. Use the Version drop-down above to go to the Plone 6 or Plone 5 versions

  • Introduction
  • Quickstart
  • Working with Content
  • Adapting & Extending Plone
  • Installing, Managing and Updating Plone
  • Developing for Plone
  • Appendices
    • Glossary
    • Error Reference
    • older manuals
      • ArchGenXML
      • Buildout
      • Using zope.formlib
      • zope.formlib
      • Zope 2 vs. Zope 3 practices
      • Pluggable Authentication Service
      • Portlets
        • What's a Portlet?
        • Basic plone.portlets architecture
        • Testing the portlet
        • How and where are Portlet Assignments stored?
        • How are portlets rendered?
        • Order and blacklisting
        • Appendix: Practicals
        • Portlet tips (advanced)
      • PloneTestCase tests
      • Zope 2 internals
  • About this documentation
  • License for Plone Documentation
  • Asking for help
Table Of Content

Portlets¶

An introduction to the portlets architecture of Plone 3, with practical examples.

  • What's a Portlet?
    • Differences with viewlets
  • Basic plone.portlets architecture
    • The use case
    • The configuration data
    • The add and edit forms
    • The portlet presentation
    • Registering the portlet
    • Installing the portlet
  • Testing the portlet
  • How and where are Portlet Assignments stored?
    • Site-wide
    • Contextual
  • How are portlets rendered?
  • Order and blacklisting
  • Appendix: Practicals
    • Subclassing new portlets
    • Moving portlet assignments from one item to another
    • How to update schemas for already registered portlets
    • How to make portlets availability configurable via adapters
  • Portlet tips (advanced)
    • Introduction
    • Creating a portlet
    • Subclassing a portlet
    • Using z3c.form in portlets
    • Overriding portlet rendering
    • update() and render()
    • available property
    • Iterate portlets assigned to the portal root
    • Looking up a portlet by id
    • Walking through every portlet on the site
    • Checking if a certain context portlet is active on a page
    • Rendering a portlet
    • Hiding unwanted portlets
    • Disabling right or left columns in a view or template
    • Disabling right or left columns on a context
    • Creating a new portlet manager
    • Fixing relative links for static text portlets
    • Other resources and examples
  • Documentation
  • Appendices
  • older manuals
  • Portlets
  • Previous
  • Next
Further help resources:
  • Community discussion
  • Stackoverflow
  • IRC Chat
More info on the Plone project:
  • Plone Foundation
  • Providers & Consultants
About this documentation:
  • Contribute
  • These docs on Github
Download:
  • Plone
  • Plone add-ons
Plone

The text and illustrations in this website are licensed by the Plone Foundation under a Creative Commons Attribution 4.0 International license. Plone and the Plone® logo are registered trademarks of the Plone Foundation, registered in the United States and other countries. For guidelines on the permitted uses of the Plone trademarks, see https://plone.org/foundation/logo All other trademarks are owned by their respective owners. Hosted by Rackspace.

This page uses Google Analytics to collect statistics. You can disable it by blocking the JavaScript coming from www.google-analytics.com.