Closed (fixed)
Project:
Calendar Tooltips
Version:
6.x-1.5
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2010 at 04:47 UTC
Updated:
23 Jul 2010 at 13:30 UTC
Hellos man,
The new BeautyTips Update affect Calendar ToolTips, the change is simple: replace "area" for "cssSelect".
This is a bit of code:
/* This function will be called at the beginning of each page request.
It is used to setup Beautytips. The "cssSelect" below is a CSS
selector that selects every date containing events on the mini calendar.
The "contentSelector" is jQuery code which specifies the HTML code
of the hyperlink's first sibling (in our case the div element)
as the tooltip's content.
The rest of the code is for telling Beautytips when to close the tooltip.
*/
function calendar_tooltips_initialize_beautytips() {
$bt_options['calendar-tooltips'] = array(
"cssSelect" => ".mini-day-on a",
"contentSelector" => '$(this).next().html()'
);
Comments
Comment #1
rjb commentedThanks man! I will make the changes as soon as possible.
Comment #2
jimurl commentedFunny I just updated the Beauty Tips module today and found that Calendar Tooltips was not working- and found this post. However, the change listed here (looks like it was already done in this version 6.x 1.5) didn't fix it for me. I tried to revert to the older version of BOTH BT and CTt , And it still did not resolve the problem. I also updated to a new version of Views (6.x 2.11)- perhaps that is where this problem lies for me?
Comment #3
MetalSeed commentedThis fix worked to me.
I use Views 6.x-3.x-dev (2010-juill.-01)
I forget to mention that I use a custom version of calendar tooltip based on an older version. This was because the fix of the init_call of BeautyTip (to be proper) does,'t worked on my installation
Comment #4
roninsa commentedIt worked for me!
Just to overstate the obvious... the file to edit is calendar_tooltips.module.
Oh! and don't forget to refresh your browser, else you won't see the change take effect.
I've been guilty of forgetting to refresh my browser, so I thought I'd point it out.
Comment #5
enkara commentedIt worked for me also. Thank you!
Comment #6
rjb commented#2: Release 6.x-1.5 does not contain the fix. The upcoming release 6.x-1.6 does. Sorry for the delay. It should be up within a few moments.
Comment #7
rjb commentedFixed in 6.x-1.6. Thanks everyone for testing and reporting the results.