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 category or a comments 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 articles in category' for categories):
<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 category.
Rating
Views 651 views. Averaging 0 views per day.