Jump to content

Can Somone help me to convert this 3.4.8 code to 4.1


media

Recommended Posts

Posted

Hi everyone,

I used to put this code in my html file right over the first post content and display ad in the first post each page/topic

Can someone convert this if statement to work with 4.1 - I have already created an advertisement block and called it post and put it in {advertisement="post"}

<if test="$post['post']['post_count'] % $this->settings['display_max_posts'] == 1"> 
{advertisement="post"}
</if>

Thanks

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...