Anycontent.php doesn't get included in cpg1.4.3
I don't see the option to display anycontent in the admin menu either..
The anycontent.php instructions say the following
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2005 Coppermine Dev Team
v1.1 originaly written by Gregory DEMAR
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.
********************************************
Coppermine version: 1.4.3
$Source: /cvsroot/coppermine/stable/anycontent.php,v $
$Revision: 1.10 $
$Author: gaugau $
$Date: 2005/11/28 07:42:14 $
**********************************************/
/**
* Coppermine Photo Gallery 1.4.2 anycontent.php
*
* This file file gets included in the index.php if you set the option in admin
* can be used to display any content from any program, it is always to be edited
* according to tastes and then used
*
* @copyright 2002,2005 Gregory DEMAR, Coppermine Dev Team
* @license http://opensource.org/licenses/gpl-license.php GNU General Public License V2
* @package Coppermine
* @version $Id: anycontent.php,v 1.10 2005/11/28 07:42:14 gaugau Exp $
*/
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
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();
?>
Anycontent only available for cpg.1.4.2?
anycontent works fine in 1.4.3 too.
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list_content
If I may interrupt ... ?
I can see the file, and edit it ... but HOW do I get it to be shown on the indexpage???
edit:
NEVERMIND !!! I figured it out !!! THANKS! :)
Quote from: pietervdb on February 25, 2006, 05:30:45 PM
The anycontent.php instructions say the following
Those are not instructions, but the copyright/disclaimer/version data that exist in all file headers. The instructions are provided in the docs (as suggested).
Don't run cpg1.4.2 nor cpg1.4.3, but upgrade to the most recent stable version (currently cpg1.4.6).