The panelizer module allows you to attach panels to any node in the system. It is similar to the panels_node module that ships with Panels, which provides a single node type that is a panel. Panelizer, however, allows this to work for many entity types. It works by using the Page Manager template to take over the page rendering of the node. Currently Panelizer works only on the main entity page, it does not panelize view modes. This is a planned feature, however.
- The administrator can specify which entity types may be panelized.
- The administrator can specify what content is allowed and what layouts are allowed per entity bundle.
- The administrator can specify a default panel to use per entity bundle. If a default panel is not specified, then panelized entities are normal entities until they are individually panelized. If a default panel is specified, then all entities of that type are automatically panelized with the default panel, and each entity can then have that panel modified.
- All entity fields are immediately available as panel panes. Additionally, with token.module, you can create custom content panes and use tokens to aggregate several fields into a simple piece of text.
- Unlike panel nodes, panelizer allows additional contexts to be added to the panel, not just the node being panelized.
- Panelizer fully supports the IPE (In Place Editor) meaning that panelized nodes can enable the alternative directly editable panel.
Panelizer 7.x features
- Note: Panelizer 7.x-2.0 is being phased out and will receive no new development and only critical bug fixes. At some point it will be removed completely; anyone still using 7.x-2.0 is encouraged to upgrade to 7.x-3.0.
- Other entities may be panelized. Users and taxonomy terms are supported; other entities may be supported by writing CTools plugins.
- All panelized entities can be given a choice of panels. This means that the administrator can pre-create several different layouts for the entity and give them names; when editing the entity, the user can select one and the entity will be rendered using that layout. These choices can be optional or one can be required.
- Permissions make it possible to use panelizer as just a way to choose panels for an entity, or to let privileged users customize panels per entity, or some combination in between.
- Integration with Views Bulk Operations allows you to make VBO views to panelize many entities at once, and see which chosen panel a given entity is using.
- In Panelizer 7.x-3.0 all view modes of an entity may be panelized independently. This reduces the reliance on page manager and allows teasers to have their own panels. It also allows entities such as fieldable panel panes to still be panelized even though they don't have a page manager mode. Using view modes it also allows panelizer data to be searchable by panelizing the default view mode instead of the page manager view mode.
- Chaos Tool Suite -- specifically Page Manager
- Install the module in the usual Drupal manner: unpack the tarball into sites/all/modules, then enable on the modules administration page.
- Visit the Page Manager administer pages page and enable the node template system page (node_view) if it is not already enabled. Panelizer won't work without this enabled!
- Visit Administer >> Configuration >> Panelizer and enable it for one or more node types. Once enabled for a node type, you will be presented with options to configure the allowed content for the type. If you enabled default panels, a simple default panel will be provided and you will be able to configure the settings, context, layout and content for the panel.
The basic system was written as generically as possible. In the future, we hope to make the following things possible:
- Allow subtabs off the node as panels. This would allow a single node to easily have a cluster of pages, all of which would be panels attached to the node.
For many of these features, volunteers wishing to help develop them would be greatly appreciated, as the author may not have the necessary time and resources to complete these on his own.
- IO1 provides specialist consulting services in Enterprise Drupal, Views & Panels, Visit us at www.io1.biz or Contact us.
- NBC iVillage is the largest women's community online. We use and depend on the Panelizer project in the Drupal CMS that serves our content. Come visit us at www.ivillage.com.
- This project is also co-maintained by: Damien McKenna and Derek Wright. Many thanks for their awesome contributions!