The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How do I put an if condition to show something only in my custom vb page
for example /page.php |
|
#2
|
|||
|
|||
|
What you want to do is
<if condition = PAGE1> show XXXXYYY </if> am i get this right? |
|
#3
|
|||
|
|||
|
what do you mean by PAGE1? Do you mean the URL?
|
|
#4
|
|||
|
|||
|
You could define THIS_SCRIPT in your php file:
Code:
define('THIS_SCRIPT', 'page');
Code:
<if condition="THIS_SCRIPT == 'page'"> . . . </if> |
![]() |
|
|