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
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
How about truncating text instead of categories?
Offline
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
Uhm, I got it working now. Will be in next release.
Offline
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
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
Use the custom Breadcrumbs to use breadcrumbs deeper.
Last edited by hiteshchauhan (2019-07-21 05:51:45)
Offline