How to create a blank page that has the same style as the current template? How to create a blank page that has the same style as the current template?
 

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

How to create a blank page that has the same style as the current template?

Started by dpatel304, March 30, 2008, 03:56:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dpatel304

I want to create a web page that shares the same theme as my coppermine page, but I will only be putting text on there.  I was wondering if there was any way to create a page like this.

Thanks.

Stramm

needs to be in the coppermine base dir
<?php

/***********
* plain text
***********/


define('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader('Test page');
starttable('100%''Test table'1);

echo <<<EOT
<tr>
<td>
Text comes here
</td>
</tr>

EOT;

endtable();
pagefooter();
ob_end_flush();
?>

pixstreet

I have another question related to this. does anyone know how to create a page outside of my gallery which retains all the coppermine features and themes. So that I can maintain a uniform appearance to my website.

www.pixstreet.co.uk

Joachim Müller

As suggested in this thread, the file you need to create needs to reside in coppermine's root folder. You can not create a file outside that folder that will use coppermine's navigation and theme due to the internal structure of coppermine's include folder.