Closed (duplicate)
Project:
Content Injector (formerly AdSense Injector)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2007 at 21:13 UTC
Updated:
20 Jan 2012 at 18:26 UTC
Comments
Comment #1
mcurry commentedNo known workaround at this time.
Comment #2
mcurry commentedComment #3
eljustino commentedIgor,
Depending on your needs and situation, you might be able to get that working with just some small modifications to the adsense_injector.module file. I had the same issue and got it working. Take a look here:
http://www.nerdliness.com/article/using-adsense-injector-cck
Justin
Comment #4
mcurry commentedBeautiful, thanks for that. I'll look into a generic fix for this as soon as I can. Meantime, patches are always welcome.
Nice site, by the way.
:D
Comment #5
eljustino commentedMy pleasure. Hope it helps others out there.
If you don't get to it first, I might play around with making it recognize different fields in different custom content types... For instance, my article type has four fields: a title, subtitle, body, and references. Don't think it would be too hard to modify the code you already have in place to pull a list of the fields associated with a specific custom content type and let you use them to inject the ads, even using the same %body type notation you've got for simplicities sake...
And thanks for the props on our site. It's still coming together, but we're getting there.
Justin
Comment #6
JConnell commentedLink in #3 is dead.
Has anyone got any further with this?
Comment #7
eljustino commentedCorrect link:
http://www.nerdliness.com/article/2007/08/08/drupal-adsense-injector-mod...
Comment #8
mcurry commentedDuplicate of #257406: Support content type without body field..
Moving to 6.x since 5.x is no longer supported.
Comment #9
ricksher commentedHi eljustino, what was the modification you did? -Rick