![]() |
conditionals based on current page?
Is there a built in variable for the name of the page a user is on (like showthread.php) that I can use in the templates? Like:
Code:
<if condition="$vbpage['showthread.php']"> stuff </if> |
Do you mean the page which the user is browsing at that time?
|
Yeah. Doesn't have to have the query string, just the base page.
|
Try <if condition="THIS_SCRIPT=='showthread'">stuff</if>
|
All times are GMT. The time now is 10:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|