Advanced search  

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

Pages: [1]   Go Down

Author Topic: anycontent.php not available in cpg1.4.3  (Read 2996 times)

0 Members and 1 Guest are viewing this topic.

pietervdb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
anycontent.php not available in cpg1.4.3
« on: February 25, 2006, 05:30:45 pm »

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
Code: [Select]
<?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?
« Last Edit: May 27, 2006, 12:26:05 am by GauGau »
Logged

Nibbler

  • Guest
Re: anycontent.php not available in cpg1.4.3
« Reply #1 on: February 25, 2006, 06:06:12 pm »

Logged

udgang99

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 78
Re: anycontent.php not available in cpg1.4.3
« Reply #2 on: May 25, 2006, 03:19:45 pm »

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! :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: anycontent.php not available in cpg1.4.3
« Reply #3 on: May 27, 2006, 12:25:50 am »

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).
Logged
Pages: [1]   Go Up
 

Page created in 0.07 seconds with 19 queries.