[Solved]: Can I make a new homepage for my CPG [Solved]: Can I make a new homepage for my CPG
 

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]

Main Menu

[Solved]: Can I make a new homepage for my CPG

Started by lawrence, May 31, 2004, 04:49:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lawrence

Hi everybody,

I am a newbie in CPG.

I have an idea of using CPG as a company's electronic catalog.

The CPG works great in that area.

What I need now is a front page like "about us" which displays first whenever people go to my CPG site.

Are there ways to add my own html page and use mysite.com/index.php as the url and change the original index.php to some other name?

Another option is now the CPG index.php displays the front page content in the order of "Category", "Ramdom picture" and "Last Addition". If there are ways for me to add a new box with text and photo above the "Category", then I don't have to make a "About us" page.

Any ideas please?

Thanks

hyperion

Look at the file anycontent.php, and activate the anycontent block by adding it to the string of blocks in CPG's config console.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Joachim Müller

or, if you need a few additional pages that come with a common navigation and based on the same theme, take a look at the mod miniCMS for CPG

GauGau

lawrence

Thanks for the reply gentlemen.

Before I explore the minicms for cpg, I would like to try the anycontent.php approach first.

I can access the anycontent.php file but the sentence of

Quoteactivate the anycontent block by adding it to the string of blocks in CPG's config console.

is just too technical to me.

May I know how to do that in details please?

Thanks a lot.

Casper

Yes, just login, click on config, and find 'contents of main page'.
Now add 'anycontent' to the string.  If you want it at the top of the page, add it before the 'catlist', if you want it at the bottom of the page, add it at the end.  It will probably then look like this;
anycontent/breadcrumb/catlist/alblist/random,2/lastup,2
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

lawrence

Thanks everybody!

The anycontent works like a charm!

Now I can post a welcome message, about us info, url link, email link...photos etc.

I don't need the minicms for the time being.

Thanks for the help again.