Hi everyone,

I'm working on a drupal 7 port of this module as I need this for a consulting project I'm working on.

If anyone is interested in sharing efforts, please add a comment below.

Thanks,

Fabio Varesano

CommentFileSizeAuthor
#5 ad_gallery-7.x-1.x.zip294.34 KBaaronbauman
#2 ad_gallery.zip92.44 KBfax8

Comments

fax8’s picture

Assigned: fax8 » Unassigned
Status: Active » Postponed

Ops.. looks like I got stuck with http://drupal.org/node/982764 .. I also found the gallery formatter module which does exactly what I need.. so that's the path I'll try.

Sorry for the noise.

Leaving this as postponed in case someone want to work on this.

fax8’s picture

Status: Postponed » Active
StatusFileSize
new92.44 KB

Ok, I have some working code for Ad-gallery and Drupal 7. See the attachment. Consider it as super alpha code. Not upgrade from 6.x ready.. but still something good to have.

toxiclung’s picture

subscribe

ispboy’s picture

subscribe

aaronbauman’s picture

Status: Active » Needs review
StatusFileSize
new294.34 KB

Here's another version that updates #2:

  • eliminates the notices due to assuming all entities are nodes, and all entities have titles
  • update to latest version of jquery.ad-gallery.js (1.2.7, May 2012)
  • removed commented-out functions
  • removed unused ad_gallery.theme.inc file
  • included this patch to adgallery lib: http://adgallery.codeplex.com/workitem/5
  • added a couple more settings that were personally useful
  • updated default tpl file to remove id attributes that would undoubtedly cause DOM errors

I have found AD Gallery to be much more flexible, easier to use, and easier to style compared to Gallery Formatter.
Thanks for the module.

drupal_newb’s picture

First of all, thanks for all your great work on this module! I'm an end user and I can't imagine doing this stuff.

Can anyone help with this message on the Drupal 7 port?

I'm running 7.21 and getting this message.

Fatal error: Call to undefined function galleryformatter_getimage_dimensions() in /home/pedsneur/public_html/sites/all/modules/ad_gallery/ad_gallery.module on line 296

Do I need the gallery formatter module to make ad gallery work?

It works with Gallery Formatter module.

Doesn't work when Ad Block is enabled on the site.