[support] Reversing field value and label

Steve Edwards killshot91 at gmail.com
Fri Jul 25 22:55:22 UTC 2014


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.

Steve

On Jul 25, 2014, at 3:51 PM, Don <donald at fane.com> wrote:

> Fun.
> I've gone the css route before, but it's not always reliable across browsers. 
> 
> Good luck. If you want to send me a link i can play with firebug and get more precise.
> 
> -Don-
> 
> On 7/25/2014 6:20 PM, Nancy Wichmann wrote:
>> Thanks, Don. This is just a standard node display. I'm not crazy about the template idea because this customer is in the habit of changing labels without notice.
>> 
>> From: Don <donald at fane.com>
>> 
>> I've done float and negative margin offsets, but the most reliable is a custom template. Create your own labels and place the value.
>> 
>> form, webform, or ?
>> 
>> 
> 
> 
> -- 
> 
> -- 
> -Don Pickerel-
> Fane Software
> <Fane-th.png>
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140725/fb40f1ac/attachment-0001.html 


More information about the support mailing list