Closed (fixed)
Project:
Calendar Tooltips
Version:
7.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jan 2012 at 11:17 UTC
Updated:
10 May 2012 at 05:50 UTC
Great module, but small 'bug' though.
In line 91 you have code:
$vars['link'] = l($vars['day'], $vars['url']) . $bt_text;
Which outputs a link to a day's page (like calendar-eventdate/month/2011-12-01) , even though there's no day view for the day with events.
I HAD to hack this string to change output.
$vars['link'] = l($vars['day'], '#', array('fragment' => '', 'external' => TRUE)) . $bt_text;
But please, fix it to consider output when day view is disabled.
Comments
Comment #1
rjb commentedThanks! Will look into it.
Comment #2
rjb commentedA fix is included in 7.x-2.1. If the day view is disabled, then a span element is used instead of a link. The span is used because we need a placeholder for the div containing the balloon data.
Comment #3
skolesnyk commentedThank you!