Hey, I am wondering what would be the php needed to make an adsense ad appear after every 5 ads? I think I would need to put this in browse.tpl? Thanks for any help.
Yes indeed, i should of just replied to the thread. But do you have any idea before what or after what must I add this code that Eric gave me and in what file? browselistings.tpl or browse.tpl: PHP: {if $smarty.foreach.foo.index % 5 == 0} ad code{/if}
Well, I haven't tried nor tested it, but I would certainly think that since it says in the code itself, "$smarty.foreach" I would say right after the foreach statement in the template. It also specifically says in Eric's answer to put it in the showlistings.tpl file.