Latest Register Log In

+ Advanced Search

Displaying Content on the First Page Only

Displaying Content on the First Page Only
By
08/30/07 (Edited 03/10/14)

Sometimes you want to show something on the first page but not on later pages of a forum or a posts thread or the member list. You can use {CURRENTPAGE} to find out what page you're on. To show something only on the first page thus involves placing this conditional in the applicable template ( 'show topics in forum' for forums):
<IF {CURRENTPAGE} is 1>your stuff here</IF>




Description How to show certain HTML when on page 1, but not any other page of a forum.
Rating
Views 644 views. Averaging 0 views per day.