more pages more pages
 

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

more pages

Started by mpower, November 04, 2004, 05:24:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mpower

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


Joachim Müller

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

Casper

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.
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

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.


Casper

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.
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