[SOLVED] How to get photo album link sequence in header

lowend

Joined: 2013-07-20
Posts: 8
Posted: Sat, 2013-07-20 06:49

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!).

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2013-07-20 17:03

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

 
punctuation

Joined: 2012-12-11
Posts: 37
Posted: Sun, 2013-07-21 07:34

Maybe this...
Breadcrumb in the page title: http://galleryproject.org/node/110540

____________________________
Gallery 3.0.8 | Clean Canvas theme

 
lowend

Joined: 2013-07-20
Posts: 8
Posted: Mon, 2013-07-22 15:19

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.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-07-22 15:52
Quote:
No links at the top,......but like I said now I think it's a global problem

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

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Mon, 2013-07-22 16:56

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

 
lowend

Joined: 2013-07-20
Posts: 8
Posted: Tue, 2013-07-23 23:43

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.

 
lowend

Joined: 2013-07-20
Posts: 8
Posted: Tue, 2013-07-23 17:32

Multiple browsers and it looks the same to me, by the way.

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Tue, 2013-07-23 17:42

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...

 
lowend

Joined: 2013-07-20
Posts: 8
Posted: Tue, 2013-07-23 18:30

No, they don't work in the wind theme, either.

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Tue, 2013-07-23 19:31

Hmmm, something else is the culprit then.

 
lowend

Joined: 2013-07-20
Posts: 8
Posted: Tue, 2013-07-23 21:59

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.

 
lowend

Joined: 2013-07-20
Posts: 8
Posted: Tue, 2013-07-23 22:54

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!

 
lowend

Joined: 2013-07-20
Posts: 8
Posted: Tue, 2013-07-23 23:40

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.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-07-24 01:46

Comments are now locked for this topic.