Announcement

  •  » Themes
  •  » Bootstrap darkroom: Breadcrumbs being eaten

#1 2017-10-10 14:57:13

digibirdtrek
Member
2015-01-06
10

Bootstrap darkroom: Breadcrumbs being eaten

Noticed today breadcrumbs are being truncated on the front end when you go more than 2 levels deep.

For example:  Home/Cat1/Cat2     (all good to this point).

Breaks when navigating to Cat3, truncating Cat1 in the breadcrumbs

Example:  Home/Cat2/Cat3 (should be Home/Cat1//Cat2/Cat3)

It appears that the breadcrumbs will only display that last two levels a user browses too, not all the levels as it should.

Running latest version of the theme.

Last edited by digibirdtrek (2017-10-10 15:00:21)

Offline

 

#2 2017-10-10 15:15:24

teekay
Member
2013-06-12
427

Re: Bootstrap darkroom: Breadcrumbs being eaten

This happens on purpose.

From the readme's "Known issues":

The secondary navbar on the picture page might span several lines, depending on the length of the category/picture name. As a workaround, the number of nested levels is truncated to max 2 levels by default.

Offline

 

#3 2017-10-11 15:12:30

digibirdtrek
Member
2015-01-06
10

Re: Bootstrap darkroom: Breadcrumbs being eaten

How about truncating text instead of categories?

Offline

 

#4 2017-10-11 16:54:33

teekay
Member
2013-06-12
427

Re: Bootstrap darkroom: Breadcrumbs being eaten

digibirdtrek wrote:

How about truncating text instead of categories?

Resize your browser window to the size of a mobile phone, then you will see that it would make things even more worse. The important part of the breadcrumbs is the category you're currently in (or the name of the picture on picture.php). Unfortunately making the breadcrumbs fully responsive is easier said than done, that's the reason for this compromise. My preferred solution would be something like this: https://bootsnipp.com/snippets/featured … readcrumbs

Last edited by teekay (2017-10-11 16:57:06)

Offline

 

#5 2017-10-11 19:06:44

teekay
Member
2013-06-12
427

Re: Bootstrap darkroom: Breadcrumbs being eaten

Uhm, I got it working now. Will be in next release.

Offline

 

#6 2017-10-11 20:46:58

digibirdtrek
Member
2015-01-06
10

Re: Bootstrap darkroom: Breadcrumbs being eaten

Personally I don't think the current page needs to be displayed in the breadcrumbs since you are already on it. 

I understand the difficulty with mobile devices, however the purpose of breadcrumbs is to leave a trail of where you have been so you can easily browse back to areas you were just in.     I like the responsive breadcrumbs in that link, it might work OK on mobile devices.  Another option would be to put the truncated categories into a drop down once you have passed your max limit.

Offline

 

#7 2017-10-11 21:22:48

teekay
Member
2013-06-12
427

Re: Bootstrap darkroom: Breadcrumbs being eaten

digibirdtrek wrote:

Personally I don't think the current page needs to be displayed in the breadcrumbs since you are already on it. 

I understand the difficulty with mobile devices, however the purpose of breadcrumbs is to leave a trail of where you have been so you can easily browse back to areas you were just in.     I like the responsive breadcrumbs in that link, it might work OK on mobile devices.  Another option would be to put the truncated categories into a drop down once you have passed your max limit.

Yup, but how is the current category or picture called? (It's the same on picture.php btw).
It serves as a page title, too. Actually, the template variable used is called $TITLE, set by Piwigo core - so it's a mixed bag of a breadcrumb and the current category/images title.

You can test the "responsive breadcrumb" stuff here if you want. Comments welcome.

Last edited by teekay (2017-10-11 21:24:30)

Offline

 

#8 2019-07-21 05:49:21

hiteshchauhan
Member
2019-07-20
1

Re: Bootstrap darkroom: Breadcrumbs being eaten

Use the custom Breadcrumbs to use breadcrumbs deeper.

Last edited by hiteshchauhan (2019-07-21 05:51:45)

Offline

 
  •  » Themes
  •  » Bootstrap darkroom: Breadcrumbs being eaten

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact