Hey everyone,

With the beta release of Drupal 7 right around the corner, I wanted to see if anyone had begun planning of a Drupal 7 port. Our shop has mostly shifted to Drupal 7 development and I 'm interested to learn if any work has begun on D7....

Thanks,
Ben

Comments

BenK’s picture

I saw a blog post on the Development Seed website that mentioned plans for Managing News in Drupal 7. It looks like a lot of works has already been done on Feeds. Will Web Widgets be getting a D7 port soon as well?

Thanks,
Ben

perandre’s picture

sub

levelos’s picture

FWIW, ThinkShout ported most of this module for use on D7. Code is available at https://github.com/thinkshout/web_widgets. We have a single projects which will launch soon that we're using it for. I reached out to febbraro to see if wanted to collaborate hand over the module on d.o. and never heard back.

perandre’s picture

@levelos Thanks for posting, I'll test it!

BenK’s picture

@levelos: Thanks, Lev, for posting the github link. I tested out your github code, but when I use the widget display in a view, I get the following notices:

Notice: Undefined index: render element in theme() (line 824 of /Users/bk/git/commerce_quickstart12b/includes/theme.inc).
Notice: Undefined index: path in template_preprocess_web_widgets_iframe() (line 55 of /Users/bk/git/commerce_quickstart12b/sites/all/modules/contrib/web_widgets/iframe/web_widgets_style_iframe.inc).

Also, the actual embed code (iframe) doesn't seem to work for me (nothing is embedded).

Any ideas on how to fix? Would you rather I post bugs somewhere else?

--Ben

levelos’s picture

Hey Ben - I haven't ported the views integration portion of the module, just the core API enabling you to create an embeddable widget within your own module. That part works pretty well, especially the iframe embed method. So one could write a fairly simple module where you grab a view results and return it in a widget. I don't have immediate plans to more generically port the module, we were basically just scratching our own itch. Not that I don't want to, just a time issue ... Hope that helps.

febbraro’s picture

Status: Active » Needs review

Hey, sorry I'm just getting caught up here.

levelos, I just gave you committer rights so you can roll your D7 port out. Thanks for taking the time and sorry I missed the message.

levelos’s picture

febbraro, I just pushed a 7.x-1.x branch, copied over from https://github.com/thinkshout/web_widgets. I don't seem have enough project permissions to publish a dev release. You've tagged the project as needing a new maintainer. Care to just hand over the keys? No worries either way.

levelos’s picture

Slight correction ... I was able to tag a dev release for 7.x-1.x, just was a bit of a delay. I'll make the tar ball available as soon as it gets published.

BenK’s picture

This is great news! Now that we have an official 7.x-1.x branch, I'll take a closer look and do more testing. :-)

--Ben

mefisto75’s picture

tagging

smithmilner’s picture

I've forked the repo at https://github.com/thinkshout/web_widgets into a sandbox project at http://drupal.org/sandbox/smithmilner/1265958

Most of the port to D7 was already done, just reworked some theme functions. It would be great if you guys could pick apart the port (on master branch) as well as take a look as some work I've done on a develop branch. I'm in the process of making the module more extensible by allowing other modules to declare widget styles of their own.

BenK’s picture

@smithmilner: Have you had a chance to look at the Views integration? That was a big piece of the port that hadn't been done yet.

--Ben

smithmilner’s picture

Yup, most of that themeing stuff was in the views plugin. I have the iframe and inline styles working properly and the others are simply untested at this point.

tobias englert’s picture

sub

MacRonin’s picture

Title: Drupal 7 port » Drupal 7 port of Web Widgets
Version: 6.x-1.1 » 7.x-1.x-dev

Updating Issue title so it will be more dashboard friendly.

Also switching version to 7.x1.x-dev since the starter D7 version is now available

mgifford’s picture

Status: Needs review » Closed (fixed)

Well, there is a port so this can be fixed. There are also issues with it, but hopefully those will be fixed shortly. We just need to fix the bugs.