coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: lawrence on May 31, 2004, 04:49:02 PM

Title: [Solved]: Can I make a new homepage for my CPG
Post by: lawrence on May 31, 2004, 04:49:02 PM
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
Title: Re: Can I make a new homepage for my CPG
Post by: hyperion on May 31, 2004, 06:30:24 PM
Look at the file anycontent.php, and activate the anycontent block by adding it to the string of blocks in CPG's config console.
Title: Re: Can I make a new homepage for my CPG
Post by: Joachim Müller on June 01, 2004, 05:32:32 AM
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  (http://forum.coppermine-gallery.net/index.php?topic=3141.0)

GauGau
Title: Re: Can I make a new homepage for my CPG
Post by: lawrence on June 01, 2004, 12:31:28 PM
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.
Title: Re: Can I make a new homepage for my CPG
Post by: Casper on June 01, 2004, 02:24:21 PM
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
Title: Re: Can I make a new homepage for my CPG
Post by: lawrence on June 01, 2004, 03:04:53 PM
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.