anycontent.php anycontent.php
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

anycontent.php

Started by outpatient, January 15, 2005, 06:15:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

outpatient

I apologize in advance if this question doesnt belong here... I just couldnt find anywhere else to put it!

I have screwed up my anycontent.php file and didn't save a backup.  I know. Could someone please upload it or email it to me? Or better yet, copy the code here?

Pretty please?

I really appreciate it.  Thank you in advance!

Abbas Ali

Please give proper name to the topics you post.

Anyways just download a fresh copy of cpg (your version), untar or unzip it and copy anycontent.php from the unzipped folder to your current installation folder.
Chief Geek at Ranium Systems

Joachim Müller

Of course Abbas is right; in the case of anycontent.php, this is all you need:<?php
// your content here
?>
The "original" looks like this (and has - compared to above version - only the copyright header and a start and end of a coppermine table:<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 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.                                       //
// ------------------------------------------------------------------------- //
// CVS version: $Id: anycontent.php,v 1.5 2004/07/24 15:03:52 gaugau Exp $
// ------------------------------------------------------------------------- //

starttable("100%""Welcome");

?>

<tr><td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td></tr>
<?php
endtable
();

?>



For future reference: you can get the most recent version of every coppermine file from the web cvs (stable branch): http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/ - for anycontent, this would be the link: http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/anycontent.php
We never do support by email, as it would defeat the point of a forum.

Joachim