I'm using 'event-single.php' to theme my page. It's in the correct location because I can put test code in and it outputs.
I want to output certain parts of the event so I can choose where they go etc - it's the Drupal in me to do so. A partial of my print_r of my $EM_Event object outputs:
EM_Event Object ( [event_id] => 5 [post_id] => 3293 [event_slug] => quintessential-brioche [event_owner] => 1 [event_name] => Quintessential Brioche [event_start_time] => 11:00:00 [event_end_time] => 14:30:00 [event_all_day] => 0 [event_start_date] => 2012-05-26 [event_end_date] => 2012-05-26 [post_content] => Aenean lacinia bibendum nulla sed consectetur. More Text. [event_rsvp] => 1 [event_rsvp_date] => 2012-05-26 [event_spaces] => 0 [location_id] => 4 [recurrence_id] => [event_status] => 1 [event_date_created] => [event_date_modified] => [blog_id] => [group_id] => 0 [event_attributes] => Array ( [Presenter] => Alison Thompson )
And I'm attempting to target it using either of this code in the theme:
print $EM_Event['event_name']; print $EM_Event->event_name; print $EM_Event['event_attributes']['Presenter'];
But it doesn't output anything. I'm sure I'm targeting it correctly.. could anyone help?