forum.coppermine-gallery.net
Support => Older/other versions => cpg1.3.x Support => Topic started by: ceesjoore on July 26, 2005, 06:33:38 pm
-
Hi,
I use coppermine only for myself and i want it to start up with my albums on the startup page, how do i do that ?
Regards
www.ceesjoore.nl
-
I'm not sure what you are asking.
-
Sorry to drag up this old thread .. I would also like to set coppermine so that it loads to the album page as default for the index ... I don't want to have to use the catagories page just the Albums one
Sorry if this has already been answered
James
-
This code is from a plug-in for cpg 1.4 that allows the user to designate a new index. To use with 1.3, you can add the following code in index.php:
if (empty($_SERVER["QUERY_STRING"]) && strstr($_SERVER["PHP_SELF"],'index.php')) {
header('Location: http://yourgallery.com/thumbnails.php?album=N');
}
AFTER:
define('IN_COPPERMINE', true);
-
Sorry to be bit of an idiot but where abouts should I add this code in index.php? does where I place it have any effect on the code itself
James
-
if you only want to show albums and no cats on the index... then don't create cats and put your albums in * No category *
-
How would I do that with user galleries?? I'm starting to think I'm in over my head here :S
-
Sorry to be bit of an idiot but where abouts should I add this code in index.php? does where I place it have any effect on the code itself
James
AFTER:
define('IN_COPPERMINE', true);
Please post a link to the page that you want to be the startup. I think there is some misunderstanding going on.
-
ahh.. user galleries ;) sorry, I didn't get that
open index.php and find
case 'alblist':
below add
if ($cat == 0) list_users();
-
Wow thank you this has been an amazing help ... I have to say this is has been one of the best boards in regards of supporting a product ... thank you