Author Topic: Can I put banner ads in each individual category  (Read 1616 times)

Offline shameekboy

  • Newbie
  • *
  • Posts: 2
    • View Profile
Can I put banner ads in each individual category
« on: April 09, 2012, 02:24:53 AM »
If so how do I achieve this? ??? Thanks in advance :D

Offline alexrjr

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: Can I put banner ads in each individual category
« Reply #1 on: April 14, 2012, 08:16:14 PM »
Kep waiting. Nobody answers here.  :-[

Offline Dejavu

  • Administrator
  • Jr. Member
  • *****
  • Posts: 56
    • View Profile
Re: Can I put banner ads in each individual category
« Reply #2 on: April 17, 2012, 08:09:47 AM »
You can do using the {if} tags
for example, create a new block with the ads, then in the html part:
{if $Article and $Article->Category->title == 'business'}
add code for business here
{/if}
{if $Article and $Article->Category->title == 'software'}
add code for software here
{/if}

Offline alexrjr

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: Can I put banner ads in each individual category
« Reply #3 on: April 20, 2012, 08:45:51 PM »
I will use it too