coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: mlsbv on September 03, 2007, 03:08:37 AM

Title: Can i change index.php to mainpagegallery.php?
Post by: mlsbv on September 03, 2007, 03:08:37 AM
Can i change index.php to mainpagegallery.php?
becuse i have a index page with index.php name. i like 2 file. first index.php as Home page and mainpagegallery.php as home page CPG.

Help me.  ;)
Title: Re: Can i change index.php to mainpagegallery.php?
Post by: Nibbler on September 03, 2007, 03:37:00 AM
It would be easier to call your index.php something else instead.
Title: Re: Can i change index.php to mainpagegallery.php?
Post by: mlsbv on September 03, 2007, 03:38:48 PM
I did rename index.php to mainpage.php. but until category link's like http://mysite/index.php?cat=2 lieu http://mysite/mainpage.php?cat=2
Title: Re: Can i change index.php to mainpagegallery.php?
Post by: Sami on September 03, 2007, 03:44:18 PM
Nibbler suggested to rename your site's index.php to something else and keep coppermine's index.php as it is
and then you can set default document under web server
Title: Re: Can i change index.php to mainpagegallery.php?
Post by: Tranz on September 03, 2007, 03:48:59 PM
Another option and probably more manageable in the long run is to put coppermine in its own folder.
Title: Re: Can i change index.php to mainpagegallery.php?
Post by: mlsbv on September 03, 2007, 04:07:17 PM
Quote from: Sami on September 03, 2007, 03:44:18 PM
rename your site's index.php to something else and keep coppermine's index.php as it is
and then you can set default document under web server
thanks, but i want my home page's site (name of home page ), be index.php


Quote from: TranzNDance on September 03, 2007, 03:48:59 PM
Another option and probably more manageable in the long run is to put coppermine in its own folder.
Coppermine file's was in root my site. I look like them.
Title: Re: Can i change index.php to mainpagegallery.php?
Post by: Nibbler on September 03, 2007, 05:27:03 PM
Then the only option you leave yourself is going through the code and changing index.php to mainpagegallery.php
Title: Re: Can i change index.php to mainpagegallery.php?
Post by: mlsbv on September 03, 2007, 05:42:16 PM
What's file i should do edit? where is usually index.php?

Thanks for all
Title: Re: Can i change index.php to mainpagegallery.php?
Post by: Nibbler on September 03, 2007, 07:37:00 PM
Search through the files.