Question

I used Ancestry gem to provide full categorization function to my website.

At this point I want to create navigation menu.

The idea, is like this.

I click on main category, it navigates to it, there I can see all subcategories. I click on one of them. Opens up other subcategories for example.

I want to be able to see on navigation bar like this

Main category name -> Subcategory name -> subsub category name -> Product name

Somethink like this, but I not sure how to search for it in google because English is not my native language. Main idea is to be able to see the tree of the categories that are siblings and parents to the children categories :)

Does somebody could suggest something for me. :)

Thank You !!

Était-ce utile?

La solution

Easy and flexible breadcrumbs for Rails.

You need navigation menu to be seen as you navigate through on clicks.

Then use breadcrumb navigation menu.

It is simpler to use and it gives you the navigation as you expect on your clicks wherever you go.

For installation and requirements, check out this:

https://github.com/weppos/breadcrumbs_on_rails#readme

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top