With Drupal 7, the node type "article" comes with a field_image to upload an image.
To render the body content:
Then to render the image field:
To render the body content:
print render($content['body']);
Then to render the image field:
print render($content['field_image']);
No comments:
Post a Comment