Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Create a page in coppermine with theme  (Read 3682 times)

0 Members and 1 Guest are viewing this topic.

Justttt

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 170
    • Trippy-ILLusion.Co.Uk
Create a page in coppermine with theme
« 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

Code: [Select]
<?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

Code: [Select]
<?
starttable("100%", "Title Here");

?>
 ( and insert you html here )
 
<?php
endtable
();
« Last Edit: January 05, 2005, 11:16:59 pm by Justttt »
Logged
J U S T T T T

cdrake

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 67
Re: Create a page in coppermine with theme
« Reply #1 on: April 09, 2005, 03:47:01 am »

what about out of coppermine. like in another directory.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Create a page in coppermine with theme
« Reply #2 on: April 09, 2005, 10:40:24 am »

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

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.