Round Rock / Austin, Texas
Drupal Web Developer

Printing CCK Fields in Custom node.tpl.php Files

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).

Printing CCK Fields in Custom node.tpl.php Files

To let Drupal handle all the wrappers and formatting, use this:

    print render($content['field_fancy_title']);

 

To print the raw, untouched value, use this:

    print $content['field_fancy_title']['#items']['0']['value'];