summaryrefslogtreecommitdiff
path: root/timelinejs_json_event.tpl.php
blob: a76f806befdf730cbbd41908bdf26ee09ffe5000 (plain)
1
2
3
4
5
6
7
8
9
10
11
            {
                "startDate":"<?php print strftime('%Y,%m,%d,', strtotime($event->field_data['und']['0']['value'])); ?>",
                "headline":"<?php print $event->title; ?>",
                "text":"<?php print $event->body['und']['0']['value']; ?>",
                "asset":
                {
                    "media":"<?php // TODO: print $event->media; ?>",
                    "credit":"",
                    "caption":""
                }
            }