Latest Register Log In

+ Advanced Search

Displaying Content on the First Page Only

Displaying Content on the First Page Only
By
Aug 30, 2007 (Edited Mar 10, 2014)

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 listings 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 654 views. Averaging 0 views per day.
Similar Listings