From 4076881c589a77002133e59777e97d7a62d8f7af Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 25 Jun 2013 15:44:26 -0300 Subject: Tag with a text field --- timelinejs_json_event.tpl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'timelinejs_json_event.tpl.php') diff --git a/timelinejs_json_event.tpl.php b/timelinejs_json_event.tpl.php index 60b88c2..75ab055 100644 --- a/timelinejs_json_event.tpl.php +++ b/timelinejs_json_event.tpl.php @@ -2,8 +2,8 @@ "startDate":"field_date['und'][0]['value'])); ?>", "headline":"title; ?>", "text":"body['und'][0]['value']); ?>", -tag) && $event->tag != FALSE) { ?> - "tag":"tag->name; ?>", +field_tag) && isset($event->field_tag['und'][0]['value'])) { ?> + "tag":"field_tag['und'][0]['value']; ?>", "asset": { -- cgit v1.2.3