PDA

View Full Version : creating custom pages



firassalim
Tue 21st Jul '09, 3:06pm
I followed the instructions mentioned here
http://www.vbulletin.com/forum/showthread.php?t=197563&highlight=custom+page

And the page I created shows up as blank page with no header no footer

I created a template and named it "about"

here's the code of the template:


$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" id="vbulletin_html">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body>
$header
$navbar

about my forums

$footer
</body>
</html>

then when I go to http://mydomain/misc.php?do=page&template=about

I can see nothing just a blank page with no header, navbar, or footer

am using vb 3.8, vbSEO and no other plugins

Please help

mixdev
Tue 21st Jul '09, 5:42pm
I think you need to create a template named custom_about; not just about

Read that thread again.

firassalim
Tue 21st Jul '09, 6:05pm
I found this vBulletin.org thread and it worked
http://www.vbulletin.org/forum/showthread.php?t=62164