[support] Reversing field value and label

Nancy Wichmann nan_wich at bellsouth.net
Sat Jul 26 03:08:33 UTC 2014


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 <killshot91 at gmail.com>
>
>
>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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140725/14cb1d96/attachment.html 


More information about the support mailing list