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
Comment #1
BenK commentedI 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
Comment #2
perandre commentedsub
Comment #3
levelos commentedFWIW, 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.
Comment #4
perandre commented@levelos Thanks for posting, I'll test it!
Comment #5
BenK commented@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
Comment #6
levelos commentedHey 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.
Comment #7
febbraro commentedHey, 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.
Comment #8
levelos commentedfebbraro, 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.
Comment #9
levelos commentedSlight 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.
Comment #10
BenK commentedThis 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
Comment #11
mefisto75 commentedtagging
Comment #12
smithmilner commentedI'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.
Comment #13
BenK commented@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
Comment #14
smithmilner commentedYup, 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.
Comment #15
tobias englert commentedsub
Comment #16
MacRonin commentedUpdating 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
Comment #17
mgiffordWell, 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.