Ajax Event Calendar – how to add event description to upcoming eventlist
-
Hello –
I’m using the Ajax Event Calendar plugin and I want to include the event description in the upcoming events eventlist function. I’m not very PHP literate but I’ve isolated the code that renders the eventlist, around line 800 in ajax-event-calendar.php:
$out .= '<li class="fc-event round5' . $class . '" onClick="jQuery.aecDialog({\'id\':' . $row->id . ',\'start\':\'' . $row->start . '\',\'end\':\'' . $row->end . '\'});">'; $out .= '<span class="fc-event-time">'; $out .= $row->start_date; if (!$row->allDay) { $out .= ' ' . $row->start_time; } $out .= '</span>'; $out .= '<span class="fc-event-title">' . $this->render_i18n_data($row->title) . '</span>'; $out .= '</li>';
I’ve tried a couple different things to call up the description text:
$out .= '<span class="description">' . $this->render_i18n_data($row->description) . '</span>';
Didn’t work. Tried this:
$out .= '<p class="description">{$description}</p>';
Didn’t work, and I’m out of ideas. Anyone have any suggestions?
Thanks,
Jeremy
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Ajax Event Calendar – how to add event description to upcoming eventlist’ is closed to new replies.