Re: Reversing field value and label

Steve Edwards <[email protected]>
Newsgroups gmane.comp.php.drupal.support
Message-ID <[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.

Steve

On Jul 25, 2014, at 3:51 PM, Don <[email protected]> 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 <[email protected]>
>> 
>> 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/ ]

-- 
[ Drupal support list | http://lists.drupal.org/ ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.