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:

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

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.