Custom View Mode

25 Oct

New and noteworthy in Drupal 7 - View Modes

in Custom View Mode, Drupal, Drupal, drupal 7, Drupal Planet, Drupal Planet

 

Drupal 6 offered two ways to display a node - teaser and full mode. However, There might be custom display types required - e.g. RSS display, search result or even home page display. Drupal 7 offers Custom View Modes to achieve custom rendering of the nodes.

You can create new view modes very easily using code or a module like Entity view modes

I will provide an overview of the code required to create a new view mode and defining a new node.tpl to display the node in the newly defined mode Read more »

copyright 2012 10jumps Llc.

copyright 2012 10jumps LLC.