forum.coppermine-gallery.net

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


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.