ZenphotoCMS Forum
correct breadcrumbs on dyn. albums - 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: correct breadcrumbs on dyn. albums (/thread-6433.html)



correct breadcrumbs on dyn. albums - breglis - 2010-01-12

Hi,

I have mix of real and dynamic albums. Is there a one fits all solution to make the breadcrumbs work under any condition ?

I use:

this does not work for dynamic albums too ?




correct breadcrumbs on dyn. albums - sbillard - 2010-01-13

You probably want to provide some more details. Dynamic albums behave just like albums.




correct breadcrumbs on dyn. albums - breglis - 2010-01-13

ok, so here is the specific problem

I am in "Pictures / China.alb"

in there I have several listed several other SUB-ALBUMS, but no pictures directly

one example real location is ("Pictures / 2006 / portraits" )
until here

printParentBreadcrumb(); printAlbumBreadcrumb();

works just fine, but when I now follow a link to one
of the sub-albums real location it just displays "/ China" and NOT
"Pictures / 2006 / portraits" as I would expect.

To me this is a bug. What do you think ?




correct breadcrumbs on dyn. albums - acrylian - 2010-01-13

Could you maybe post a link?




correct breadcrumbs on dyn. albums - breglis - 2010-01-14

here is a dynamic gallery where the breadcrumb gets confused :
http://www.dev.bregler.net/rooms/China.alb/ (displays all subalbums matching search)

however the real album works :
http://www.dev.bregler.net/rooms/2006 (it contains hundreds of subalbums which are taged)

album.php contains :

Can anyone shed some light ?
It seems like ZP is trying to provide a track of how one got to the picture not the physical location if it. If it would works, that would be brilliant.

test: try and navigate to the same sub-gallery once through the native '2006' gallery and once through the 'China'. The breadcrumbs behave differently