This is such a great module! Is there any plan to port to D7?

Also, the instructions on how to do-it-yourself (without module) using theming and PHP below:

http://linuxpc.info/node/83

is no longer there, can anyone show me how (or where to look for help)? Thank you!

CommentFileSizeAuthor
#19 calendar_tooltips_patch_20110808.txt2.41 KBrjb

Comments

rjb’s picture

Thanks. I haven't begun to port it yet, but yes, there will be a D7 version.

The linuxpc.info site is down at the moment because the hosting provider is busy moving the site to another server. There is a cached version at Google, though. Just search for site:linuxpc.info node/83 and click In cache.

Cheers,
Ronald

rjb’s picture

Assigned: Unassigned » rjb
metakel’s picture

Thank you very much!
I have found the cached webpage. I hope that it is not too difficult to implement on D7 on my own.

rjb’s picture

The linuxpc.info site is back online.

I just tried the D7 version of the calendar module. The mini calendar just does not work at the moment. See issues #1077262: Not working with custom date fields and #1045038: Calendar Block does not advance to the next month. I will try to help them first, because these issues will have to be sorted out before we can port & test the D7 version of the calendar tooltips module.

Anticosti’s picture

Subscribing

Eldon5’s picture

Subscribing

D7 plz!

rjb’s picture

I hear you :-)
Do you guys have the basic calendar functions working in D7? I'm using the latest dev-versions of calendar, date, ctools and views, and it still does not work. I cannot see my events in both the calendar block and the month view.

mgifford’s picture

In the process of upgrading this script I thought it would be worth pointing out this accessible approach to tooltips http://hanshillen.github.com/aegisdemo

rjb’s picture

Version: 6.x-1.8 » 7.x-1.0
Status: Active » Fixed

The D7 version is available! Be sure to use the -dev versions of CTools, Views, Date and Calendar.

Anticosti’s picture

Working like a charm RJB !!! :)
Thank you so much!!!

Kind Regards,

rjb’s picture

Thanks Anticosti! Glad it works.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

metakel’s picture

It seems that after updated from Calendar 7.x-2.x to Calendar 7.x-3.x-dev, the Calendar Tooltips stops working.
In the calendar block, the ballon is still displayed, but it is empty, only:

<ul>
<li></li>
</ul>

the result is that only the black dot of the li element is shown. In the calendar block view: Format-> Settings, I've found:

Display as mini calendar
[ ] No
[X] Yes
Display the mini style calendar, with no item details. Suitable for a calendar displayed in a block.

I suspect this is the culprit.

metakel’s picture

Status: Closed (fixed) » Needs work
rjb’s picture

Thanks for reporting. I found that the following change works on calendar-7.x-3.x-dev without breaking compatibility with calendar-7.x-2.x. Could you test this and see if it works for you?

--- calendar_tooltips.module    2011-07-25 16:07:41.000000000 +0200
+++ calendar_tooltips.module    2011-07-25 16:14:47.000000000 +0200
@@ -70,9 +70,9 @@
             if ($field->options['label'] != "")
               $bt_text .= "<div class=\"calendar_tooltips-" . $name .
                 "-label\">" . $field->options['label'] . "</div>";
-            if ($result['rendered'][$name] != "")
+            if ($field->last_render != "")
               $bt_text .= "<div class=\"calendar_tooltips-" . $name .
-                "-value\">" . $result['rendered'][$name] . "</div>";
+                "-value\">" . $field->last_render . "</div>";
           }
         }
         $bt_text .= "</li>";
metakel’s picture

Status: Needs work » Closed (fixed)

Hey rjb, the patch works on my Calendar 7.x-3.x-dev! Thank you so much!

metakel’s picture

Status: Closed (fixed) » Needs work

Hi rjb, I am sorry that after I've tested my site for a little bit longer, I found a very strange phenomenon. I have four "events" of different date on the calendar block. All of these dates have a Calendar Tooltips balloon when the cursor hovers. However all these ballon show the same contents. To be exact, all of them show the last content.

For example: I have four events of different names on 26th, 27th, 29th, 31st of July. There will be four calendar cells with hyperlinks on these dates, but all Tooltips balloons show the same 31 July's "event" (both "title" and "date" inside the balloon).

I have checked the calendar "view" and found that it outputs the four events title and date correctly by changing its display format to "field".

rjb’s picture

Hi metakel, just wanted to say that I'm working on it, but there are more strange things going on with calendar-7.x-3.x-dev. For example an event placed on Juli 31, appears on August 1 on my system...

rjb’s picture

StatusFileSize
new2.41 KB

Found the error in #15. The attached patch should fix it. It applies to calendar_tooltips-7.x-1.0.

Please note that this change will break compatibility with calendar-7.x-2.0, so only use it if you are on calendar-7.x-3.0.

metakel’s picture

Thank you rjb!
It works now and display dats and contents correctly and solved the problem.

emkamau’s picture

Patch in #19 works for me too.

emk

roninsa’s picture

Patch is working with the exception when using safari or chrome browsers.

metakel’s picture

Strange, it works on my Mac OS 10.6 Safari.

Tezza’s picture

Sweet. #19 patch works great for me in FF, Chrome and IE, all on XP.

Love the Calendar, but without this module the Calendar block is pretty lame, so thank you for this.

rjb’s picture

Version: 7.x-1.0 » 7.x-2.0
Status: Needs work » Fixed

Thanks all of you for testing. The fix is included in the new 7.x-2.0 release. Marking this issue fixed.

@#22: roninsa let me know if you still have problems. Both Chrome & Safari seem to work for other users.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

roninsa’s picture

Look good! What ever the cause 7.x-2.0 seems to have fixed the problem. Thanks for all you effort!