Can eventlist item link straight to page, skipping popup?
-
Heips, a question.
I’ve noticed that in the php there’s this bit:
// link to event $class = ($whitelabel) ? '' : ' ' . $row->className; $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;And I’m interested in using that onClick function to skip straight to the page that’s indicated by the Event Link in the popup. That is, to skip the popup and go straight to the page.
In the show-event.php that link is indicated like this:
if (!empty($event->link)) { if ($adjust < 1) { $adjust = 1; } $out .= str_repeat("<br>", $adjust); $link = "<a href='{$event->link}' class='link round5 cat{$event->category_id}'>"; $link .= __('Event Link', AEC_NAME); $link .= "</a>\n"; $out .= "{$link}"; }Can anyone tell me how to make the event list item link directly?
Thanks very much!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Can eventlist item link straight to page, skipping popup?’ is closed to new replies.