forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: tanfwc on June 05, 2004, 03:57:57 pm

Title: blank page?
Post by: tanfwc on June 05, 2004, 03:57:57 pm
is there any possible way to create a blank page in CPG like a FAQ page or for other purpose...
Title: Re: blank page?
Post by: Joachim Müller on June 05, 2004, 04:02:31 pm
sure, use this code:
Code: [Select]
<?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...
Title: Re: blank page?
Post by: tanfwc on June 05, 2004, 05:07:54 pm
sure, use this code:
Code: [Select]
<?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...
Title: Re: blank page?
Post by: Nibbler on June 05, 2004, 05:35:03 pm
pagefooter(); at the bottom of the code will add the coppermine footer.
Title: Re: blank page?
Post by: tanfwc on June 05, 2004, 05:50:59 pm
i will go and try it out first...thank you...