Attached patch ports current websnapr D6 version to D7... minimal changes required: some functions renamed, a few arguments differ, but basically a very simple conversion.

CommentFileSizeAuthor
websnapr_D7.patch18.27 KBtanoshimi

Comments

tanoshimi’s picture

Status: Active » Needs review
dwormdahl’s picture

Just tried installing websnapr in a base drupal 7 beta 3 instance and doesn't seem to be working properly after the patch is applied. I have configured with my dev key and it works in by drupal 6 instance as expected. Basically the callout box does not display at all when I hover the test link in the configuration screen.

I did notice that the Drupal.jsEnabled method has been removed in D7 so I tried commenting that section out in the websnapr.js file but it had no effect. Can you suggest something else to test/try or need any additional details? I'm struggling trying to debug the javascript.

======================================
Update....

Just got it working by doing the following:
1. Removed the drupal.jsEnabled check
2. wrapped the entire websnapr.js script in
(function($) {
.....
})(jQuery);

Starminder’s picture

maybe make a dev release out of this?

Gerben Zaagsma’s picture

subscribing

beauvafr’s picture

Is there dev version for Drupal 7.X in the making ?

Refineo’s picture

Any news regarding D7 port ? I would be glad to test this. Thank you!

Eugene Fidelin’s picture

Status: Needs review » Closed (fixed)

Big thanx to tanoshimi - now module is ported to Drupal 7