Breadcrumb: main->hidden->this page : thispage is not shown

Permalink
Hi

I did search the forum, found quite a lot of entries, but somehow I am not satisfied.
My problem is, that the page layout is a bit weird.
There are 5 (!) different areas of navigation on the page which made me split the structure like shown below.
Menu 1 displays "home, concact, legal"
Menu 2 displays "page 1, page 2, page 3"
Menu 3 displays "info", "sub i1", "sub i2" and "sub i3"
Menu 4 displays ... well don't know right now (yet) ...
Menu 5 displays "page 1, sub 1-1, sub 1-2, page 2, page 3, page 4, sub 4-1, sub 4-2"


The "blind_10", "blind_20" and "blind_30" pages are not shown in nav, in xml, in search ... also the persmissions for these are for "admin" only.

The "search" does not show in search results, nav and sitemap but is accessible by every user.

My problem: When I access the "sub 1-1" page the breadcrumb shows:
a) to an administrator
Home > blind_10 > sub 1-1

b) to a normal user/guest
Home
(and only home - but I want to see: Home > sub 1-1 )

Is this a bug? Or which setting do I need to place?
I am using the cuatom autonav from jordanlev :c5_clean_block_templates (search the forum for this)
( https://nodeload.github.com/jordanlev/c5_clean_block_templates/zip/m... )

Another question: is the custom autonav from jordanlev still better than the one provided with C5 version 5.6.0.1?

Home
contact
legal
blind_10
  page 1
    sub 1-1
    sub 1-2
  page 2
  page 3
  page 4
    sub 4-1
    sub 4-2
blind_20
  info
    sub i1


Olaf

ong
 
jordanlev replied on at Permalink Reply
jordanlev
Hello Olaf,
The newer autonav template that is included in Concrete5.6 and up is taken directly from my custom template. So it doesn't really matter which one you use (the end result is the same), but I would start using the system one from now on because it's cleaner (because I was able to move a lot of the ugly stuff at the top of that file into the block controller).

And there is a bug in 5.6.0 that makes it so pages with the "exclude_nav" attribute are excluded from breadcrumbs (which they shouldn't), but this was fixed in 5.6.1. But if you were using a custom template then this bug shouldn't have affected you. (Or do I misunderstand, and for the breadcrumbs you're still using the built-in breadcrumb template? If so, then upgrading to 5.6.1.2 should fix the issue).
ong replied on at Permalink Reply
ong
Hi Jordan,

>The newer autonav template that is included in Concrete5.6 and up is taken directly from my custom template.

ok, I went back to the c5.6 block. Maybe it's close to what the future will bring.

> And there is a bug in 5.6.0 that makes it so pages with the "exclude_nav" attribute are excluded from breadcrumbs (which they shouldn't)

Well, I thought breadcrum IS somekind autonav - pages and links are generated automatically. For this reason I would expect, that pages that are excluded (my "blind_xx" pages) from the autonav are also excluded from any of the workings of the autonav block.

I have 5.6.1.2 installed. The blind_xx pages are for admins only - may this be a/the reason?

Olaf
jordanlev replied on at Permalink Reply
jordanlev
Honestly I'm not sure -- it sounds like you have a very complicated setup, and it is hard to say what exactly the problem is without actually interacting with your site.

Depending on the nature of the site, it might be possible to replace some of your auto-navs with a "manual nav", where you just choose each page you want to appear there:http://www.concrete5.org/marketplace/addons/manual-nav/...
ong replied on at Permalink Reply
ong
Hi Jordan,

thanks a lot for this answer as it
a) provides a (for me) very useful add-on
b) shows me, that am ot so wrong assuming the layout/navigation/page structure of the site is not only from my point of view ... special.

I will probably use the add-on you gave the link to and/or the additional navgiation add-ons which can be found on that page.

Olaf