Log in

View Full Version : Creating a new page


ZeeLex
01-08-2007, 11:13 AM
Hi , I want to create a new page includes header and footer to my forum. I don`t want to have navbar in that page. and unregistered users can not view the page.
how do I do this?

ragtek
01-08-2007, 11:41 AM
here are so many tutorials
use the search pls

WhaLberg
01-08-2007, 01:04 PM
Create yourfile.php and copy the following codes, don't forget to change the "templatename"

<?php

error_reporting(E_ALL & ~E_NOTICE);

define('THIS_SCRIPT', 'yourfile');

require_once('./global.php');

eval('print_output("' . fetch_template('templatename') . '");');

?>

And add a new template from your Admin CP.

$stylevar[htmldoctype] $headinclude $header

your codes goes here

$footer (if you want)

And save it.

Your sincerely.