Posted by teri@bglog.net on June 1, 2005 at 7:30pm
Please help me! I want to insert adsense code in trackback.module. I want to put ad right after line "Trackback URL for this node: "
Please help me! I want to insert adsense code in trackback.module. I want to put ad right after line "Trackback URL for this node: "
Comments
Try this
1. Install the adsense module.
2. Configure it as per instructions.
3. Edit trackback.module after this line:
<?php$node->body .= theme('box', t('Trackback URL for this post:')
?>
Adding this:
<?php$node->body .= adsense_display('468x60');
?>
You can change the dimensions, colors, and other stuff if you want. Read the instructions for the adsense module.
--
Consulting: 2bits.com
Personal: Baheyeldin.com
--
Drupal performance tuning, development, customization and consulting: 2bits.com, Inc.
Personal blog: Baheyeldin.com.
Thank you!
Thank you!
It's displayed now, but i see only placeholder - you can see it here http://bglog.net/node/997 for example. "hide adsense" is not checked in users permission, and the module is active. Also "Disable Google AdSense ads?" is not checked too
No, it's working! :) Excuse
No, it's working! :) Excuse me! I see the ads with not administrator account and I love the function to disable ads for registered users :) Thank you again! :)