Support

Home Forums Events Calendar Add-on ADD TOOLTIP TO WIDGET !

ADD TOOLTIP TO WIDGET !

Posted: February 8, 2013 at 8:46 pm

Viewing 1 reply thread


Edwin

February 8, 2013 at 8:46 pm

ADD TOOLTIP TO WIDGET ! find this line “$espresso_calendar_widget .= ‘eventRender: function(event, element) { ‘;” (line 83!) on espresso-calendar-widget.php and add this lines after that $espresso_calendar_widget .= ‘element.qtip({content:{text: event.title + event.startTime}, position: {my: ‘bottom center’, at: ‘top center’}})’; $espresso_calendar_widget .= ‘;’; DONE!

  • This topic was modified 11 years, 10 months ago by Edwin.
  • This topic was modified 11 years, 10 months ago by Dean. Reason: moved to Calendar forum to help add context to title


Dean

February 11, 2013 at 1:40 am

Nice find Edwin!

I did one slight change to add a space between the event title and time

$espresso_calendar_widget .= 'element.qtip({content:{text: event.title + " " + event.startTime}, position: {my: \'bottom center\', at: \'top center\'}})';
$espresso_calendar_widget .= ';';
Viewing 1 reply thread

The support post ‘ADD TOOLTIP TO WIDGET !’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso