View Single Post
  #7 (permalink)  
Old 01-07-2009, 10:13 PM
teachwny teachwny is offline
Donor
 
Join Date: Jul 2008
Posts: 25
Quote:
Originally Posted by chuckroast View Post
I just tried this on my site and it works. Using category ID numbers. Lets say the category dogs has the Id number of 2

{if $pagename eq "story"}
{if $category_id eq "2"}
<----Advertisement about dogs----->
{/if}{/if}

Repete for each category.

Then put the code in link_summary.tpl just above
{checkActionsTpl location="tpl_link_summary_end"}

Good Luck
Perfect! This is exactly what I needed. You can go ahead and do a [SOLVED] on this one.
Reply With Quote