Hi all,

I am a bit confused using this module.

I create a story and add one picture using CCK ImageField. The default output is shown in my attachment.

Now what if I want to have the image and then the body text?

When I try to edit the Contemplate I get the following:

<div class="field field-type-filefield field-field-story-image">
  <h3 class="field-label">Image</h3>
  <div class="field-items">
      <div class="field-item"><?php print $node->field_story_image[0]['view'] ?></div>
  </div>
</div>

What I don't see is my body field. So how do I choose for body to go after image?

Thanks...

CommentFileSizeAuthor
screenshot.png277.56 KBratinakage

Comments

Mproject’s picture

Below the Body (or Teaser) field you have "Body Variables". In tehre there is a list of all available outputs like:
$node->title
$node->content['body']['#value']
etc...

find what you want and place it in php print (or echo) tags