Hi -=dm=- the info is somewhere in this thread, but its quicker to repost then to find it
You need to replace: (should be near the end of the file)
PHP Code:
eval("dooutput(\"".gettemplate('home')."\");");
With:
PHP Code:
if (!$page)
// no page specified
{
eval("dooutput(\"".gettemplate('home')."\");");
}
else
eval("dooutput(\"".gettemplate("$page")."\");");
You can change:
to whatever you want in the URL so in the above code the url to get to a page would be:
Code:
x.php?s=$session[sessionhash]&page=template_name
Where:
x.php is the name of the vbindex.php file;
$session[sessionhash] is the users sessionhash where required, should be used in all links;
and template_name is the name of the template you wish to be displayed.
To create new pages just make a copy of your home template and change the main content.
If no page is specified in the url then the home template is loaded.