ZenphotoCMS Forum
printParentBreadcrumbs doesn't link to correct pages - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: printParentBreadcrumbs doesn't link to correct pages (/thread-5938.html)



printParentBreadcrumbs doesn't link to correct pages - dmitriid - 2009-10-13

Hi all

setOption('albums_per_page', 10)

I have an album which has 25 subalbums.
I go to page two in subalbum list
I click on an album
The breadcrumb to the parent album links to the first page only

I may be missing something again




printParentBreadcrumbs doesn't link to correct pages - sbillard - 2009-10-13

Could be, but since you have not told us much, not sure we can help you.




printParentBreadcrumbs doesn't link to correct pages - dmitriid - 2009-10-14

Well, that's about it

`

$parents = getParentAlbums();

if(isset($parents[0])) $name = $parents[0] -> name;

setOption('albums_per_page', 10);

setOption('images_per_page', 20);

if($name == 'books'){

$title = 'Books';

$meta = '';

setOption('albums_per_page', 10);

}

`