Aug
01
2011

Printing CCK Fields in Drupal 7

In node.tpl.php

<?php print render($content['field_EXAMPLE']); ?>
<?php print render($content['body']); ?>

In page.tpl.php

<?php print $node->field_EXAMPLE['und'][0]['value']; ?>

Written by Pete in: Drupal |

No Comments »

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes