10:49 PM
Pligg Adsense Tutorial - Yget Template
stormbreaker
This is the third installment of the tutorial for adding ad codes in Pligg. For this tutorial, I’ll be using the Yget template. Unlike the first two tutorials that I have written, this tutorial will not include the sidebar as an ad location, and will only use Adsense ad codes.This sample editing will show two leaderboard banners at your main page. For story pages, a leaderboard ad, a 468×60 banner, and a large triangle ad will be shown. For search results and upcoming stories, only a leaderboard ad will be used. You are free to modify these codes according to your preferences. This only serves as a guide on how to modify the template files in order to add ad codes. You may even use other affiliate programs such as Adbrite or Text-Link-Ads.
+-+-+-+-+-+-+-
Open pligg.tpl
Look for:
After, add:
{if $pagename eq "story"}{literal}
{/literal}
{/if}
Look for:
After, add:
{if $pagename eq "story"}
{literal}
{/literal}
{/if}
Save pligg.tpl
Open header.tpl
Look for:
Before, add:
{if $pagename eq ’index’ $pagename eq ’search’ $pagename eq ’upcoming’ $pagename eq ’upcoming’}
{literal}
{/literal}
{/if}
Save header.tpl
Open footer.tpl
Look for:
Before, add:
{if $pagename eq ’index’ $pagename eq ’search’ $pagename eq ’upcoming’}
{/if}
Additional notes:Courses like SY0-101 have been serving the purpose of revision after basic courses like 350-001 and 650-178. However, for professionals who have done 642-372 or even 642-453, the need to take refresher courses seldom rises. Same holds true for those who have certifications like 70-536 or the advanced 70-290 to their credit.
+-+-+-+-+-+-+-
Open pligg.tpl
Look for:
After, add:
{if $pagename eq "story"}{literal}
{/literal}
{/if}
Look for:
After, add:
{if $pagename eq "story"}
{literal}
{/literal}
{/if}
Save pligg.tpl
Open header.tpl
Look for:
Before, add:
{if $pagename eq ’index’ $pagename eq ’search’ $pagename eq ’upcoming’ $pagename eq ’upcoming’}
{literal}
{/literal}
{/if}
Save header.tpl
Open footer.tpl
Look for:
Before, add:
{if $pagename eq ’index’ $pagename eq ’search’ $pagename eq ’upcoming’}
{/if}
Additional notes:Courses like SY0-101 have been serving the purpose of revision after basic courses like 350-001 and 650-178. However, for professionals who have done 642-372 or even 642-453, the need to take refresher courses seldom rises. Same holds true for those who have certifications like 70-536 or the advanced 70-290 to their credit.