blank page? blank page?
 

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

blank page?

Started by tanfwc, June 05, 2004, 03:57:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tanfwc

is there any possible way to create a blank page in CPG like a FAQ page or for other purpose...
tanfwc
[ + ] My HomePage
[ + ] GuestBook
[ + ] Photo Gallery
[ + ] Free Image Hosting

Joachim Müller

sure, use this code: <?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.2.1                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002,2003 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// (http://coppermine.sf.net/team/)                                          //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //
define('IN_COPPERMINE'true);
require(
'include/init.inc.php');
//your content goes here...
?>

GauGau

P.S. cpg1.3.0 will come with a user faq page...

tanfwc

Quote from: GauGau on June 05, 2004, 04:02:31 PM
sure, use this code: <?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.2.1                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002,2003 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// (http://coppermine.sf.net/team/)                                          //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //
define('IN_COPPERMINE'true);
require(
'include/init.inc.php');
//your content goes here...
?>

GauGau

P.S. cpg1.3.0 will come with a user faq page...

Thank you for the code. How do i enable to use the template plus the overall_header link and the footer copyright? i want this two important code to stay and to support CPG also...
tanfwc
[ + ] My HomePage
[ + ] GuestBook
[ + ] Photo Gallery
[ + ] Free Image Hosting

Nibbler

pagefooter(); at the bottom of the code will add the coppermine footer.

tanfwc

i will go and try it out first...thank you...
tanfwc
[ + ] My HomePage
[ + ] GuestBook
[ + ] Photo Gallery
[ + ] Free Image Hosting