forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: nytemare on June 07, 2005, 03:08:37 pm
-
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.
-
<?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.
-
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.
-
Its okay, i found out how, inserted the code right after the pageheader line. :) Thanks for your help.