Skip to content
Miro Marchi edited this page Nov 13, 2013 · 4 revisions

In this sections we can gather all display related thought (about panels, view modes...).

View modes

I find very easy and integrated the manage display view modes function for content types. We could create some custom view modes, besides "default" and "teaser", to manage all the usecases we have. View modes is a great way to have reusable layouts,

For instance, at the moment organizations' nodes (which are the home pages for each organization) are managed through a panel page (node template) and shows some panes ("add content to the group", "users of the group", "projects of the group", "relations of the group"). Projects and relations panes are displays of a view (rbv_view_groupcontent), showing teasers. Here we could have a custom view mode named "group teaser", so we could delete group audience field (which we want to leave in teasers since we use teaser in global pages).

Documentation

Documentation for using view modes is here, and we can use entity_view_mode module to add custom view modes.

As stated by julia:

The key factor to using view modes effectively is to use as few of them as possible (but, obviously, as many as you need).

So we need to assess «how many potential view modes could be needed» and therefore this issue has relative priority [normal] (not high).

Here there's documentation for working with view modes using ds (display suite) module.

Here there's a great presentation by Tim Cosgrove held at Drupalcon Denver 2012.

Page manager and panels

Page manager is part of chaos tools.

At the moment only organizations nodes (which are homepages for groups) are displayed by page manager. There is only one variant named "Rbv org group panel".

Documentation

The great screecast series learn page manager by nodeone.