Closed (fixed)
Project:
Hovertips and Clicktips
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2008 at 22:49 UTC
Updated:
29 May 2008 at 22:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
Dave Cohen commentedYes, eventually. Patches are welcome, if anyone wants to help. It's a small module and may not need much to upgrade.
Comment #2
nancydruActually, here's a patch. I've done the Drupal part, but the jQuery needs attention and I don't know that part.
Comment #3
nancydruScratch that one, I missed two small things. Now this completely works on 6.x.
Comment #4
deselaers commentedHi,
I have applied this patch, and now hovertip seems to be working fine in my Drupal 6.1 installation.
Cheers,
thomas
Comment #5
wayland76 commentedDave, is there any chance you could commit this patch?
Comment #6
wayland76 commented(After branching CVS appropriately, of course)
Comment #7
nancydruAnd doing more testing? Someone else testing and marking RTBC would be nice.
Comment #8
wayland76 commentedHmm. Doesn't seem to work quite right.
http://www.housingaffordabilityaustralia.com/content/hovertips-test
I'm using the chameleon theme that comes with D6. In firefox, the hovertip comes up any time I'm over that window, rather than just when I hover over the appropriate text. Maybe I'm doing something wrong too, which is why I'm posting the link here.
Comment #9
wayland76 commentedOk, maybe it does, and I'm wrong. I finally got the Glossary and Hovertips working together here, and they seem to work properly :).
Comment #10
wayland76 commented...so I guess what I'm saying is, the patch is fine, but the documentation could probably use some work :).
Comment #11
wayland76 commentedOk, I've found a problem -- hovertips are only working if I'm logged in as Administrator, not anonymous. That's no reason not to create a 6.x dev branch, though :).
Comment #12
nancydru6.x has a new version of jQuery, and I suspect there is some tweaking required, but I don't know how to do that part.
Comment #13
wayland76 commentedhttp://drupal.org/node/114774#upgraded_to_jquery_12
Comment #14
nancydruI know about the docs, but I am not a jQuery or js person.
Comment #15
wayland76 commented@NancyDru: Sorry, that wasn't directed at you, but more at someone who wants to get in and give this problem a shot.
Comment #16
Dave Cohen commentedI think the new version of jquery could make hovertip.js shorter (because I think jquery provides some of the coordinate nastiness in there now) although I'm not certain about that.
I've been sluggish to check in an Drupal 6 changes because personally I have not yet upgraded any of my sites. I will get to this, though! I appreciate the help.
Comment #17
nancydruI've only got my one test site so far, and it is not a really good test bed yet. I have most of my modules converted, but the jQuery is beyond me at the moment. Sorry I couldn't do that part too.
Comment #18
jhedstromI resolved the issue with non-admin users being able to see the tips. The problem was in hovertip_menu, in that apparently access arguments can't simply be array(TRUE). I set it to array('access content').
I also reviewed the js, and it didn't look like it needed any updating.
Comment #19
nancydruThey can be, but I may not have done it properly. AFAIC, that's a good solution - if they can't see content, then why are they even on the site.
Comment #20
jhedstromI assume it can be done, I just couldn't figure out how to do it via the Drupal API.
I suppose one could simple change the "access callback" to "is_array" and pass in "array(1)", but this seems hacky at best.
Comment #21
nancydruI remember running across it somewhere in the upgrade docs, but don't remember where right now.
Comment #22
wayland76 commented@Dave: Can we at least have a dev branch for this? If you need help with the release system (including CVS), I can help with that (I assume you don't need this, but since there's been no 1.x version, I thought I'd offer).
Comment #23
wayland76 commented@jhedstrom: what is this patch against?
Comment #24
nancydruMy base was: $Id: hovertip.module,v 1.3 2007/12/12 19:23:34 yogadex Exp $
Comment #25
wayland76 commentedOk, here's mine against current HEAD, which Dave is updating for the first time since last year. Hopefully he'll be willing to branch for 6.x :).
Comment #26
wayland76 commentedForgot to change status; sorry. Nancy implied that she'd done as much as she could on it, so I'm reassigning it to no-one.
Comment #27
Dave Cohen commentedThanks everyone for your work on this. And also for your patience.
Sadly, I'm stuck in the Drupal 5.x world for every site I'm working on. So setting up my environment for 6.x has been something of a hurdle. I don't want to delay you any further so I've checked in the patch - without testing it. Something I'm loathe to do, but just resurrect this issue if I've blundered.
http://drupal.org/node/259042
Comment #28
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.