Create a page in coppermine with theme Create a page in coppermine with theme
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Create a page in coppermine with theme

Started by Justttt, January 05, 2005, 05:56:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Justttt

i dont no if this ha been posted befor or if it will be of any intrest  to newbies but if you would like to create a page inside of your coppermine and make it have the same theme then all you need to create is


<?php

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


?>

    Your Html Here
<?php

pagefooter
();
?>



or if you would also like to add a table to it just like your anycontent shows where it says (Your Html Here) keep your php open and insert

<?
starttable("100%", "Title Here");

?>
( and insert you html here )
 
<?php
endtable
();
J U S T T T T

cdrake

what about out of coppermine. like in another directory.

Joachim Müller

will not work: although you could edit the include path, the consequent includes will fail.

Joachim