By ALT83 on
Hi,
I've created a new event node type using a combination of event.module and cck.module
I am now theming the event nodes by creating a node-event.tpl.php file.
I've managed to print a number of elements seperately in that file, such as:
print $node->field_event_logo[0]['view']
print $node->field_event_website[0]['view']
print $node->field_location[0]['view']
Now I'm wondering how to print the start and end dates in this file in the following format:
Dates: Friday 21st May 2007 - Sunday 23rd May 2007
Any ideas?
Thanks,
Alex
Comments
this gets the start date for me within node-event.tpl.php file
format_date($node->event_start, 'custom', 'Y/m/d');