Re: Reversing field value and label
Nancy Wichmann <[email protected]>
| Newsgroups | gmane.comp.php.drupal.support |
|---|---|
| Message-ID | <[email protected]> |
Thanks all. I ended up doing a preprocess_field() together with a custom field--list-boolean.tpl.php. It looks good now. >________________________________ > From: Steve Edwards <[email protected]> > > >Have you thought of a node preprocess function that creates a variable with the formatted label and output, and then just use that in your node template? Granted, it requires an override of the node template in your theme, but this would be a one time change that would allow the user to change the content to their heart's content without requiring any changes from you. > > -- [ Drupal support list | http://lists.drupal.org/ ]