coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: mpower on November 04, 2004, 05:24:29 AM

Title: more pages
Post by: mpower 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

Title: Re: more pages
Post by: Joachim Müller 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 (http://forum.coppermine-gallery.net/index.php?action=search;advanced) the board for "custom header" / "custom footer" to find out more.

Joachim
Title: Re: more pages
Post by: Casper 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;
case 'anycontent':
                if ($cat == 0) {
                    include('anycontent.php');
                }
                flush();
                break;


Add, immediately below it;

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.
Title: Re: more pages
Post by: mpower 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.

Title: Re: more pages
Post by: Casper 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.