Hello, I have just started coding for vBulletin yesterday, and I am getting fairly used to it. Although I have one problem, I cannot seem to get sub-pages working correctly for custom pages.
A link in the template would call a location to look something like:
Code:
/videoadmin.php?action=addvideo
The current PHP snippet for sub-pages I have in videoadmin.php is:
PHP Code:
$page = $_GET['action'];
The <if> statement in the template file is:
HTML Code:
<if condition="$page == 'addvideo'">
Testing AddVideo Command
</if>
It seems correct from the tutorials I've read, but I guess I have something incorrect.
Thanks for you help in advance.