Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.1
Component:
General
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2009 at 22:22 UTC
Updated:
13 Jul 2009 at 01:30 UTC
I have a cck field which needs to show text values (both selection and viewing) to the users, but makes more sense to store as a decimal value for use by a computed field. Is there a way to show the keys rather than the values on output?
I suspect keys only exist on the selection list widget, and not in cck itself... Can anyone confirm this, or give me some pointers on how to go about doing this?
Comments
Comment #1
kafka93 commentedI'm running into the same issue, I think. We store integers so that we can sort on them, but need to display the text values in the view (table mode). This is pretty major for us since we're looking to launch the new site within the next week or two.
Comment #2
RoboPhred commentedBumping to feature request, as it doesn't look like this is possible as-is.
Comment #3
karens commentedIf you're talking about Computed Fields, your question belongs in that queue. I believe all the core CCK fields that have keys and values have a 'plain' formatter that will show the raw value. And any module can add a formatter to do whatever else you want to do.