Apologies if this is a bonehead question, but I must be googling the wrong terms because I can't find the answer anywhere.
In my ancient gallery 1 gallery, at the top of the page there was a sequence of links that showed the branches which the current photo/album was part of in the overall album tree, e.g. TopmostGalleryLink>SubGalleryLink>SubSubGalleryLink etc. I can't find a way in the current theme I am using (Clean Canvas) or the default wind theme to make this happen. I have seen galleries using gallery3 that appear to have this. Is this something I need to code myself or is it something silly that I am missing? I have added the module which includes the gallery tree in the sidebar. That's useful for direct navigation to specific albums but if a user is looking at a photo they clicked from recent comments or recent updates I would like them to see the overall context.
Any help will be met with much rejoicing (yay!).
Posts: 27300
The 'bread crumb' is a standard feature on most themes. The default wind theme has it and you would have to edit the theme to remove it. I don't have the Clean Canvas theme but I'm sure it has it as well.
You will have to show a url to have us better understand what you are on about.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 37
Maybe this...
Breadcrumb in the page title: http://galleryproject.org/node/110540
____________________________
Gallery 3.0.8 | Clean Canvas theme
Posts: 8
BREADCRUMBS! Ok, thank you, now I know what to search for.
It looks like it is not isolated to the one theme - whichever theme I use it's the same. No links at the top, and has never had them since this gallery was installed and migrated from Gallery 1.
Line 136 in Clean Canvas's page.html.php is the same as suggested - but like I said now I think it's a global problem.
Posts: 27300
Global as in your install? the breadcrumb works on every install I have seen.
You must be talking about something else. Got a URL to show the behavior?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 814
Breadcrumbs seem to work for me with Clean Canvas: (If this is what you're talking about)
[IMG]http://codex.galleryproject.org/images/a/a9/Breadcrumb-cc.jpg[/IMG]
Edit: hmmmm images seem to be disabled or not working for some reason... clicking on the link will display
Posts: 8
Yes, global as in my install. Here's a link:
It does seem to work fine on jnash's - that's exactly what I'm talking about.
There seems also to be an overall layout problem that I have as well - there is overlap between the sidebar and the page's header region that does not look right.
Other than a complete copy-over of the gallery1 gallery, I haven't really done anything (all files should be stock). I've installed some modules for the sidebar, but the problem existed before that.
Thanks for helping me out with this, by the way.
Posts: 8
Multiple browsers and it looks the same to me, by the way.
Posts: 814
Do the breadcrumbs work in the default (wind) theme?
I can't recall if they were in CC by default, or I added them in...
Posts: 8
No, they don't work in the wind theme, either.
Posts: 814
Hmmm, something else is the culprit then.
Posts: 8
It looks like the $breadcrumbs array is empty. At least, I'm executing the block in pages.html.php with the comment "/* No breadcrums, position adaption for sidebar needed */".
Somebody appears to have had this problem a while back, but there is no posted fix, at least not that I can find. Rats.
Posts: 8
More fun - the dynamic "recent changes" gallery was broken as well. In an attempt to fix this breadcrumb issue, I copied in the Breadcrumb.php file from git. This now appears to fix the dynamic gallery - which is now the only page on my install that has breadcrumbs!
Posts: 8
Still don't know what was wrong. Updating to 3.0.9 fixed everything. I probably should have done that first, considering it has been a while since this gallery was first installed.
Thanks for your help.
Posts: 27300
Comments are now locked for this topic.