PDA

View Full Version : How to setup a conditional for FORUMDISPLAY page


DamasGate
12-09-2010, 03:17 AM
Hello,

How to setup conditional to show one banner on all FORUMDISPLAY pages. Except the first page.


I try this code but it is did not working with me

<if condition="$pagenumber>1">show nothing<else />show banner here</if>

Any help please?

Thank you

Lynne
12-09-2010, 02:16 PM
What is happening with the query? What is it doing? Have you tried spitting out the variable $pagenumber to see what it is on each page?

DamasGate
12-11-2010, 02:27 AM
I found it, and its working now.

<if condition="$pagenumber == 1 ">*** no banner here ***<else />*** banner here ***</if>

http://www.vbulletin.com/forum/showthread.php?368619-How-to-setup-a-conditional-for-FORUMDISPLAY-page&p=2085547#post2085547


Thank you