Closed (fixed)
Project:
CCK Formatters
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Aug 2008 at 13:39 UTC
Updated:
14 Jul 2012 at 23:19 UTC
If I create the CCK text field 'Colour' with the following multi-select options:
re|red
gr|green
bl|blue
ye|yellow
they will be displayed in the node as:
Colour: re, gr, bl,
rather than:
Colour: red, green, blue etc.
Comments
Comment #1
chasz commenteddid you find a solution??
you called the key instead of the value variable?
does anyone know the value variable name?
EDIT: on closer inspection, the key is the value and the label is what u need to use for the selection menu
Comment #2
Crell commentedIt looks like the core formatters do what sjf describes, so I've updated this formatter to do the same. Thanks.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.