PloneDocumentation
  • Documentation
  • Developing for Plone
  • Programming Plone
  • Views, viewlets and layers
  • Previous
  • Next

Warning

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

  • Introduction
  • Working with Content
  • Adapting & Extending Plone
  • Managing, Administration of Plone
  • Developing for Plone
    • Developing add-ons
    • Programming with Plone
      • Programming Plone
        • Getting started
        • HTTP serving and traversing site data
        • Views, viewlets and layers
          • Views
          • Viewlets
          • Layers
          • Tutorial: Overriding Viewlets
        • Content management
        • ZODB, persistency and transactions
        • Functionality and features
        • Queries, search and indexing
        • Internationalization (i18n)
        • Users and members
        • Security
        • Sessions and cookies
        • Images
        • Syndication
        • Miscellaneous information
    • Importing content from other systems
    • Tutorials
  • Appendices
  • About this documentation
  • License for Plone Documentation
  • Asking for help
Table Of Content

Views, viewlets and layers¶

View and viewlet patterns used to create dynamic pages in plone.

  • Views
    • Introduction
    • Customizing views
    • Creating and registering a view
    • Content type, mimetype and Template start tag
    • Zope ViewPageTemplateFile vs. Five ViewPageTemplateFile
    • Overriding a view class in a product
    • Helper views
    • Reusing view template snippets or embedding another view
    • Accessing a view instance in code
    • Listing available views
    • Default view of a content item
    • Allowing the contentmenu on non-default views
    • Views and automatic member variable acquisition wrapping
  • Viewlets
    • Introduction
    • Finding viewlets
    • Creating a viewlet
    • Re-using code from a View
    • Creating a viewlet manager
    • Viewlet behavior
    • Conditionally rendering viewlets
    • Rendering viewlet by name
    • Rendering viewlets with accurate layout
    • Viewlets for one page only
    • <head> viewlets
    • Finding viewlets programmatically
    • Poking viewlet registrations programmatically
  • Layers
    • Introduction
    • Using layers
    • Creating a layer
    • Troubleshooting instructions for layers
    • Checking active layers
    • Testing Layers
  • Tutorial: Overriding Viewlets
    • Overriding the Logo
    • Overriding the Title
    • Discussion
  • Documentation
  • Developing for Plone
  • Programming Plone
  • Views, viewlets and layers
  • Previous
  • Next
Further help resources:
  • Community discussion
  • Stackoverflow
  • IRC Chat
More info on the Plone project:
  • Plone Foundation
  • Success Stories
  • 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.