coppermine-gallery.com/forum

No Support => General discussion (no support!) => Topic started by: Justttt on January 05, 2005, 05:56:22 PM

Title: Create a page in coppermine with theme
Post by: Justttt on January 05, 2005, 05:56:22 PM
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
();
Title: Re: Create a page in coppermine with theme
Post by: cdrake on April 09, 2005, 03:47:01 AM
what about out of coppermine. like in another directory.
Title: Re: Create a page in coppermine with theme
Post by: Joachim Müller on April 09, 2005, 10:40:24 AM
will not work: although you could edit the include path, the consequent includes will fail.

Joachim