PDA

View Full Version : Is there a conditional for this?


forcerm
11-22-2010, 01:08 PM
I've placed some code in my SHOWTHREAD template to display something just above the reply button.

However i only want it to display on the first page of a thread. Is there a conditional i can wrap it in to achieve this?

kh99
11-22-2010, 01:34 PM
I think it should be

<if condition="$pagenumber == 1"> ... </if>

forcerm
11-22-2010, 01:46 PM
it works thank you