I have a Unformatted view that uses CCK fields. I have an overridden theme for the view. When I look at the fields and the data I am getting the raw values instead of the formatted values. How do I get the formatted values?
Basically the CCK field is a select 0 => No, 1 => Yes, etc. In the view I get a 0 or a 1...I want the "No" or "Yes". On themes that are not overridden that is what I get. When I create my own theme I cannot get the formatted values. Any help would be appreciated.
Comments
Comment #1
heather commentedSorry I don't know your answer... maybe this can help though you may already know this:
by adding the following code to your template file to just read out some values which are available to you. (even just temporarily - paste this in, run your .tpl.php file once, and view source and save the info for reference.)
Comment #2
merlinofchaos commentedIn addition to having probably filed this in the wrong place, when asking questions like this it is really important to include things like which styles/templates you're actually using, since each one is its own entity.
I'm going to mark this NMI and, for a change, NOT forward this to CCk as I"m not 100% sure it needs to be filed there, but it definitely can't be properly answered without more information.
Comment #3
domesticat commentedPerforming a mass closing of all issues over 180 days old. Please reopen if needed.