engineerisaac
02-20-2009, 09:57 PM
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:
/videoadmin.php?action=addvideo
The current PHP snippet for sub-pages I have in videoadmin.php is:
$page = $_GET['action'];
The <if> statement in the template file is:
<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.
A link in the template would call a location to look something like:
/videoadmin.php?action=addvideo
The current PHP snippet for sub-pages I have in videoadmin.php is:
$page = $_GET['action'];
The <if> statement in the template file is:
<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.