body vars
tchibo - February 25, 2009 - 19:41
| Project: | Video Upload |
| Version: | 6.x-1.0 |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello!
I'm using this modul in combination with the modul "contemplates" and now i need the body variables to
include the video in the changed content.
Can anybody help me ?
Greets from Austria =)

#1
The contemplate module should show you the various properties of the node.
Typically though, the structure is something like:
<?php$node->content['field_{field_name}'][0]['value'];
?>
#2
thank you for your replay!
my fieldname is : field_video
the contemplate modul shows me no variable which fits in, things like that are given:
$node->content['field_video']['#context']
full
$node->content['field_video']['#access'] (boolean)
TRUE
$node->content['field_video']['#type_name']
lofer_blog
$node->content['field_video']['#field_name']
field_video
$node->content['field_video']['#weight']
45
$node->content['field_video']['#post_render'] (array)
$node->content['field_video']['#post_render'][0]
content_field_wrapper_post_render
i have tried your suggestion:
$node->content['field_video'][0]['value'];
but this is what i get:
http://www.youspeak.at/hp/lofer/node/292
there should be a video between "website" and "mal ein Video zum testen".
helllp =)
#3
is there anybody who can help me ?