Tooltip is filled with the list of the day events when mouse gets over a day cell.
I'm still working on improving it (css styling and a better mechanism for long lists), but this first patch is usable.
It applies against HEAD tag, but it can easly ported also on 5.x.

PS:It could be need to refresh the site theme in order to apply the new style properties.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Michelle’s picture

I'm not able to test the patch right now but I want to say I love the idea and I think it would be a great addition to the module. I've seen similar on other calendars and it's a great feature.

Thanks,

Michelle

Gerhard Killesreiter’s picture

I too like the idea. Let us know when you want people to test your patch. Also, please provide your patch in "unified" format (the -u option).

samuelet’s picture

I'd be really glad if anyone could test it (also for browser compatibility) and give some feedback.
The new patch changes the format of day events according to the table format view, adds a scroll bar for long lists and tooltip div should remain contained into calendar div just to prevent out of screen problems.
I've no idea if the table format is less suitable for a tooltip mechanism than a simple event unordered list without extra informations (like the previuos patch), but i'm open to any opinion.

At this moment i'm tryinig to attach a timer to the tooltip displaying in order to prevent unwanted tooltips and server load.
Unfortunately, with this feature on, browsers don't work as i aspect. Tooltip looses unexpectedly the focus and becames unusable.

In attachment:
1) The currently working patch for HEAD tag.
2) The buggy patch with timer support for development purpose.
3) A not fully tested patch for 5.x. It should work but i've only succesfully tested a mix of an HEAD eventblock.js with patch 1) and 5.x event.module and event.css with patch 3).

Smejko’s picture

Hi, it's nice patch but i found a bug.

Tooltips is displayed only for loaded month. If I click for next of prev month (or back to beginning) tooltips aren't display.

I used event_block_tooltip2-5.x patch.

Can you fix it? I tried it but i can't JS.

Thanks

samuelet’s picture

Uhm, strange. It should work for next-rev month too, as you can see here:
http://www.gas.ms.it (August and September 2008).

What version (if HEAD, what date) of event module did you installed?
It could be also a visual bug (i.e: tooltip wrong position so it's hided). In this case it depends on you theme. The Garland theme should work correctly.

japerry’s picture

Status: Needs work » Closed (outdated)

Event for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.