I'm using post nuke and coppermine gallery and all my albums are in the root. this is the setup. breadcrumb/alblist/catlist/
Now i'm having a problem with users not being directed to the first page of the gallery. What is happening is it takes them to the last gallery they viewed. I upload albums on a daily basis, so if they dont go to the site in like, 3-4 days, then they end up going to page 2 instead of page 1 because i've added 10 or so albums. Does that make sense? So they see page 2 thinking the gallery hasnt been updated, when they need to click on page 1. Is there a way to force page 1 to load when they visit? I'm getting many complaints from different people about that. They dont realize its starting them on the last album they viewed which may be on page 2 or 3.
Any help would be appreciated.
http://www.916online.com/
You can change the lay-out of the initial page of Coppermine such thta this not happens. Is not a feature of pnCPG.
Cas
You mean by adding more albums to the page? Thats not what i want. I have 145 albums.
Have you tried to use this setting for the main page :
Quotebreadcrumb/catlist/alblist/random,2/lastup,2
Cas
yeah i dont want those. This still doesnt answer my question. Force Page one to load, not the page stored in the cookie that was last viewed.
Should be here in index.php
if (isset($_GET['page'])) {
$PAGE = max((int)$_GET['page'], 1);
$USER['lap'] = $PAGE;
} elseif (isset($USER['lap'])) {
$PAGE = max((int)$USER['lap'], 1);
} else {
$PAGE = 1;
}
Tell it not to look at the cookie
if (isset($_GET['page'])) {
$PAGE = max((int)$_GET['page'], 1);
} else {
$PAGE = 1;
}
now thats an answer! Thank you :)