• Viewfields can be placed in any node content type.
  • View arguments are supplied by specifying a comma-delimited list of tokens that are replaced with values at display time, for example %nid, %author.
  • Viewfield supports three built-in tokens: %nid, %author, and %viewer, corresponding to the current node, current node author, and current user respectively.
  • By enabling the token module, you can use any tokens supplied by it.

Note

The 6.x-1.x release supports a defaulting mechanism known internally as 'super_defaults'. This feature is controlled by the checkbox on the field edit form labeled Use a common default value for all nodes if the user does not override it on the node form. This feature allows nodes with no assigned viewfield value to be rendered with the field's configured default values automatically. This has an effect only for nodes that were saved before the viewfield was created, because viewfields in nodes saved after that receive the default value preselected in the node edit form anyway.

The super_defaults feature is gone in 6.x-2.x.

If your site currently uses super_defaults and you want to upgrade to 6.x-2.x, viewfield should continue to work fine as long as you specify the option 'Always use default value' on the field management form (see Typical Usage) and remember to run update.php after upgrading. As always, back up your site before any upgrade.

Drupal 6 sites must upgrade to Viewfield 6.x-2.x before upgrading to the Drupal 7 release.