![]() |
Can you do if conditions based on the =action and not just THIS_SCRIPT?
title says it all, i'm sure you can but not sure on the condition
|
PHP Code:
|
Quote:
|
If you're trying to do something in a template then just put the condition part of the if statement in the quotes of the condition attribute of the if tag otherwise.
Code:
<if condition="$_REQUEST['do'] == 'action'"> |
Quote:
in php Code:
if ($_REQUEST['do'] == 'action') { Code:
($_REQUEST['do'] == 'action') ? (Do this) : (Do that) vBulletin php/html Code:
<if condition="$_REQUEST['do'] == 'action'"> |
All times are GMT. The time now is 04:04 PM. |
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:
|