Download & Extend

Displaying only a single value from a multiple valued field

Project:Node displays contributions
Version:6.x-2.x-dev
Component:ND CCK
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

If a content type has a multiple valued field. Is it possible to control the number of items it shows within a build mode?
For instance, if you have a content type with a multiple valued image field. One might just be interested in displaying a single - i.e. the first - image instead of all the images.

This is useful for generating lists of nodes within views where you want to display 1 image while displaying the full node, multiple images might be shown.

Comments

#1

Status:active» closed (fixed)

see http://drupal.org/node/700056 - search for 'Limit multiple field' - that's how we do it a work - the function on the docs pages could even be more generalized, but that's for another day :)

#2

Totally missed that info. My bad! :-)

#3

Thanks for the hint. The workaround works.