am-impact / amnav

Navigation plugin for Craft
168 stars 20 forks source link

Category Items not showing in Breadcrumbs #63

Closed bgarrant closed 8 years ago

bgarrant commented 8 years ago

Categories work great in main navigation but go not show up in breadcrumbs? Any idea why? I have a category page working and added to the nav but it is missing in the breadcrumbs.

bgarrant commented 8 years ago

Any update on this Breadcrumb issue? Nav works fine. SO here is a better example:

http://domain.dev/programs/adult-programs/senior-citizens-club is the entry URL.

http://domain.dev/programs/adult-programs/ is the Category page which is pulling {{ category.title }} and {{ category.body }} into the page and the segment two "adult-programs" is the slug it is using. The template is at "/programs/_entry".

My breadcrumb code is:

{{ craft.amNav.getBreadcrumbs({ id: 'breadcrumbs', class: 'breadcrumb', renameHome: 'Home' }) }}

So when I visit http://domain.dev/programs/adult-programs/senior-citizens-club I get the breadcrumb "Home > Senior Citizens Club" when it should be "Home > Adult Programs > Senior Citizens Club". Why is the category page being skipped in the breadcrumbs?

hubertprein commented 8 years ago

Ahh yes, categories are not in the breadcrumbs at all. Have to come up with an update for that one.

bgarrant commented 8 years ago

Please keep me posted. I would be happy to help test if needed.

Bryan Garrant Garrant Consulting LLC

On Mar 15, 2016, at 6:57 AM, Hubert Prein notifications@github.com wrote:

Ahh yes, categories are not in the breadcrumbs at all. Have to come up with an update for that one.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/am-impact/amnav/issues/63#issuecomment-196765138

bgarrant commented 8 years ago

They work great in the navigation. Just missing in breadcrumbs. Thanks in advance for your help. It is a wonderful plugin. :)

Bryan Garrant Garrant Consulting LLC

On Mar 15, 2016, at 6:57 AM, Hubert Prein notifications@github.com wrote:

Ahh yes, categories are not in the breadcrumbs at all. Have to come up with an update for that one.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/am-impact/amnav/issues/63#issuecomment-196765138

bgarrant commented 8 years ago

Have you had a chance to look at this one Hubert? Not a big deal but just wanted to follow up. Thanks.

dubcanada commented 8 years ago

I fixed it in the following pull request @bgarrant https://github.com/am-impact/amnav/pull/67

bgarrant commented 8 years ago

Fantastic. I will test it out.

Bryan Garrant

Garrant Consulting LLC

518.327.5159

From: dubcanada [mailto:notifications@github.com] Sent: Thursday, April 14, 2016 2:59 PM To: am-impact/amnav amnav@noreply.github.com Cc: bgarrant info@garrant.com Subject: Re: [am-impact/amnav] Category Items not showing in Breadcrumbs (#63)

I fixed it in the following pull request @bgarrant https://github.com/bgarrant #67 https://github.com/am-impact/amnav/pull/67

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/am-impact/amnav/issues/63#issuecomment-210100509 https://github.com/notifications/beacon/ACUueG8mP1yidqRp3dxJSAhDFIgJ6xNAks5p3o56gaJpZM4Hu92U.gif

bgarrant commented 8 years ago

This works perfect! Thanks so much.

Bryan Garrant

Garrant Consulting LLC

518.327.5159

From: Hubert Prein [mailto:notifications@github.com] Sent: Friday, April 15, 2016 5:32 AM To: am-impact/amnav amnav@noreply.github.com Cc: bgarrant info@garrant.com Subject: Re: [am-impact/amnav] Category Items not showing in Breadcrumbs (#63)

Closed #63 https://github.com/am-impact/amnav/issues/63 via https://github.com/am-impact/amnav/commit/4c466b51e368b939c073fa752a3729f568cae635 4c466b5.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/am-impact/amnav/issues/63#event-628656691 https://github.com/notifications/beacon/ACUueMVQRGdkWk4xasHfUXBEdslZgNbIks5p31sHgaJpZM4Hu92U.gif