Advanced search  

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]

Pages: [1]   Go Down

Author Topic: more pages  (Read 3482 times)

0 Members and 1 Guest are viewing this topic.

mpower

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
more pages
« on: November 04, 2004, 05:24:29 am »

Hello i searched and couldn't find it. I did look at the docs and added an extra page anycontent.php but i would like to add
a few more pages similar to anycontent.php- how would i do so? Thank you

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: more pages
« Reply #1 on: November 04, 2004, 09:57:12 am »

If you need more, you will have to modify the coppermine core code accordingly (there's no "ready to copy'n paste" solution available). I rather suggest modifying the template (if it's static content), or search the board for "custom header" / "custom footer" to find out more.

Joachim
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: more pages
« Reply #2 on: November 04, 2004, 11:17:19 am »

If you just want to add a second anycontent to the front page, you can create a file called anycontent2.php, add your new content to it.
Then edit your index.php, and find;
Code: [Select]
case 'anycontent':
                if ($cat == 0) {
                    include('anycontent.php');
                }
                flush();
                break;

Add, immediately below it;

Code: [Select]
case 'anycontent2':
                if ($cat == 0) {
                    include('anycontent2.php');
                }
                flush();
                break;

Then specify 'anycontent2' in the contents of main page.

But I think you want extra pages.  Have you tried the mini cms for coppermine in the mods board.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

mpower

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: more pages
« Reply #3 on: November 05, 2004, 12:12:26 am »

Hi,

Thank You. Yes went around the board and poked around about the miniCMS. I
did download the package but i found the installation very vague and not complete.
I also searched for it as well- to my surprise, the installation directions were the same
. Maybe imy searching skills are not honed but if you could give me a link or search
result with some detail install directions- I would really appreciate it.

Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: more pages
« Reply #4 on: November 05, 2004, 09:34:07 am »

I think everything there is about it is on the minicms thread.  I don't have any experience with it.

If you have any questions about how to install/use it, you should post them on that thread.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 14 queries.