Closed (fixed)
Project:
DFP Small Business (Google Ad Manager)
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2008 at 20:34 UTC
Updated:
8 Dec 2008 at 15:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
toemaz commentedFeel free to submit a patch for the upgrade to D6 or simply a fully working Drupal 6 version.
For very handy help how to create an upgrade: http://www.lullabot.com/videocast/porting-drupal-modules
For the moment, I don't have time free but I'm accepting patches.
Comment #2
Artem commentedI spent some time hacking and made it work on Drupal 6. Find the ported version attached. I converted basic stuff with the help of the deadwood module and after that most of the change was to replace theme() call with the direct call theme_google_admanager_block()
Not a polished version, but works for me and I tried keeping it close to the original version so that it would be easier to maintain.
Have fun!
Comment #3
toemaz commentedHi Artem,
Good work, but I'm afraid the job is not done yet. You checked out the 1.1 version and not the dev release. The development release comes with a filter which implements 3 extra functions: google_admanager_filter, google_admanager_filter_tips and _google_admanager_substitute_tags.
So, if your Drupal 6 port would be enhanced with the filter functions, I will check in D6 dev release.
Comment #4
Artem commentedTrue, I didn't start with the dev version. Will try repeating. Couple of filter related functions shouldn't be a too big deal.
Comment #5
Artem commentedAnd here is the dev version. With the filters
Comment #6
toemaz commentedThanks a lot Atem. I didn't test the module but I checked it in. Within 24 hours, it should appear in the list of releases as 6.x-1.x-dev.
So, the code still needs review by others before a stable 6 release can be made.
Thanks for the work again!
Comment #7
toemaz commentedDrupal 6 dev release it out. We need some positive comments of users successfully using the dev release before making an official stable release.
Comment #8
jumpfightgo@groups.drupal.org commentedI've got it running on a live site now. Haven't messed with too many features yet but the ads are there.
I did find one error in the dev version. White space in the ad slots list on the configuration page isn't actually stripped out. Here's a patch (my first ever, so I apologize if I didn't do it right).
Comment #9
toemaz commentedPatch applied and committed. Thx!
Comment #10
toemaz commentedBased on the test report by jumpfightgo, I released a stable Drupal 6 package which will come available shortly.
In case of bugs, open a new issue.