static php page? static php page?
 

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

static php page?

Started by wipqozn1, May 13, 2007, 10:22:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wipqozn1

Is there any possibility of creating .php page within Coppermine? MINICMS doesn't allow for including php code or external files and I didn't found nothing else.

I just would like to add page with "most time-spenders" php code and have no idea how could I do it.

Tranz

If you want to create a new page with the coppermine template, put this into a new php file:
<?php 
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');

pageheader('page title');

pagefooter(); 
?>

wipqozn1