New Page. New Page.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

New Page.

Started by nytemare, June 07, 2005, 03:08:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nytemare

Could someone please tell me how to make a completely new page. Say i wanted to make a contact page, but i want this page to use my current theme so that my main menu, footer and everything else is still in the new pag. What includes and etc must i enter before uploading the page.

Nibbler

<?php

define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader('Your title here');

?>


html content here

<?php
pagefooter
();
?>


Try to search the board before you post, this has been posted many times before.

nytemare

Sorry, i had searched earlier on but results only came up with a lot of random stuff. But one more thing, what if the content i want to insert for a new page is php code and etc. Like an add-on or mod.

nytemare

Its okay, i found out how, inserted the code right after the pageheader line. :) Thanks for your help.