this is if conditional for if the url is xxx, in php
Quote:
if ($vbulletin->url == 'http://domain.com/forum/somepage.html')
{
}
|
i want to use it in template, please help what is looks like?
i already tried this
Quote:
<if condition="$vbulletin->url == http://domain.com/forum/somepage.html">
</if>
|
but got error like this and cant save the template
Quote:
The following error occurred when attempting to evaluate this template:
Parse error: syntax error, unexpected ':' in /home/username/public_html/includes/adminfunctions_template.php(3605) : eval()'d code on line 91
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
|