Как определить ID у отдельной строки TextField для привязывания к ней IMCE?

Главные вкладки

Аватар пользователя Sergey1 Sergey1 12 февраля 2008 в 18:11

Поставил Contemplate, ниже - список переменных ноды. Какую из них использовать в качестве ID для IMCE?

An example node has been loaded and it's properties appear below. Click on the the property names to add them to your template.
$node->nid
25
$node->vid
25
$node->type
story
$node->status
1
$node->created
1202457852
$node->changed
1202478501
$node->comment
2
$node->promote
1
$node->sticky
0
$node->revision_timestamp
1202478501
$node->title **
Header
$node->teaser

Teaser: 
Test teaser

$node->log
$node->format
1
$node->uid
1
$node->name
admin
$node->picture
$node->data
a:0:{}
$node->path
2008/02/08/header
$node->last_comment_timestamp
1202457852
$node->last_comment_name (NULL)
$node->comment_count
0
$node->taxonomy (array)
$node->field_teaser (array)
$node->field_teaser[0] (array)
$node->field_teaser[0]['value'] **
Test teaser
$node->field_teaser[0]['view']
Test teaser
$node->readmore (boolean)
FALSE
$node->content (array)
$node->content['field_teaser'] (array)
$node->content['field_teaser']['#access'] (boolean)
TRUE
$node->content['field_teaser']['#value']

Teaser: 
Test teaser

$node->content['field_teaser']['#weight']
0
$node->content['field_teaser']['#printed'] (boolean)
TRUE
$node->content['field_file'] (array)
$node->content['field_file']['#weight']
0
$node->content['field_file']['#value']
$node->content['field_file']['#access'] (boolean)
FALSE
$node->content['body'] (array)
$node->content['body']['#weight'] (integer)
0
$node->content['body']['#value']
$node->content['body']['#printed'] (boolean)
TRUE
$node->content['#children']

Teaser: 
Test teaser

$node->content['#printed'] (boolean)
TRUE
$node->links (array)
$node->links['comment_add'] (array)
$node->links['comment_add']['title']
Add new comment
$node->links['comment_add']['href']
comment/reply/25
$node->links['comment_add']['attributes'] (array)
$node->links['comment_add']['attributes']['title']
Add a new comment to this page.
$node->links['comment_add']['fragment']
comment-form

Комментарии