Active
Project:
Content Templates (Contemplate)
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2010 at 12:05 UTC
Updated:
7 Jul 2010 at 11:35 UTC
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...
| Comment | File | Size | Author |
|---|---|---|---|
| screenshot.png | 277.56 KB | ratinakage |
Comments
Comment #1
Mproject commentedBelow 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