Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Event Calendar > have it show Event Title when a date is hovered.


Reply


461 Views

Avatar
wilsonStaff

Community Member, 142 Posts

26 October 2011 at 4:16pm

Hi to all, do you know how i can retrieve title event when i hover a date on the calendar, date that has an event?

Easiest way is to use the title attribute and the tooltip box. I then need to know that to insert within the title="???"

Tried this. Didnt work.

<a href="calendrier" title="<% control Events %>$Title.Event<% end_control %> ">$Number</a>

Tried that. No better.

<a href="calendrier" title="$Title.Event ">$Number</a>

- - -

Also tried to add and Events data into CalendarUI.class.php

$days->push(new ArrayData(array(   
...
   'Events' => $this->calendar->data()->Events(null, $start, $end)
)));

That gives me an error - Undefined variable:start

- - -

Should be a simple thing right?

Thanks!