Go Back   Pligg CMS Forum > Pligg Development > Pligg Modules > Module Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-14-2008, 03:31 PM
Pligg Donor
 
Join Date: Feb 2007
Posts: 28
Thanks: 1
Thanked 2 Times in 1 Post
Adsense share module

Anyone know the function needed to call the show-ads.tpl

I am working with a new template.

If I use the yget all works fine with the module, but I cannot work out which of the files has the call function in yget so I can see the needed code an put it in the new template..

hope that is as clear as mud :P
Reply With Quote
  #2 (permalink)  
Old 08-14-2008, 08:53 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,399
Thanks: 171
Thanked 439 Times in 278 Posts
I think you are looking for the module hook that calls it into the template correct?

if you look at the share_revenue_init file you will see where it's assigning the module hook.
Code:
module_add_action_tpl('tpl_pligg_below_center', share_revenue_tpl_path . 'show_ads.tpl');
Then if you look at the yget/pligg.tpl file you will see where it's including that hook.
Code:
{checkActionsTpl location="tpl_pligg_below_center"}
Hope that points you in the right direction.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
The Following User Says Thank You to chuckroast For This Useful Post:
  #3 (permalink)  
Old 08-15-2008, 07:22 AM
Pligg Donor
 
Join Date: Feb 2007
Posts: 28
Thanks: 1
Thanked 2 Times in 1 Post
Thats the one... thanks

Now I need to find the thread that shows how to put more than 1 adsense rev share block on a page. Using different tpls, with different block sizes and making sure you dont get multiple pub #s.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 redwine Modification Tutorials 3 10-18-2008 10:28 AM
Removing adsense from Featured Module? submitlink Module Support 1 08-16-2008 11:11 AM
Adsense Revenue Sharing Mod for 8.2 Dravis Modification Tutorials 38 03-13-2008 09:57 AM
Missing Adsense Module? whisperwow Modification Tutorials 12 09-09-2007 05:52 PM
Adsense Rev Share Mod and Google TOS impulsive Modification Tutorials 12 08-19-2007 04:17 AM


Search Engine Friendly URLs by vBSEO 3.2.0