-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you make parameter that will mean that parent chain will full replace without save previous parent chain #102
Comments
@aprogrom Hi, your English is good, but let's try to concentrate on your problem, could you sketch an example of what happens and what you expect, it would be cool if you can put it on the github |
@Scrum, Hi. I will try to explain: We have two different pages, the first is member detail of global group named cathedra, the second is subgroup detail named education group. The jumps to all of those page make from pages of list, they available in leftbar menu. That pages have his own inheritence tree with own childrens(pages of related data and actions with that data objects) and parents(list page and it parent page), but all of member global group consist in subgroup and have link to his own subgroup, subgroup have list of own member whith link to each of all also. And In breadcrumbs on education group page we have: on student page we have: And when we try jump from student detail page to education group detail page by link when we having that code in route object breadcrumbs meta attribute:
in breadcrubs we have that picture: But we expect: Or if we jump to studet page from group we have: when we expect: As we can see, the breadcrumbs code dont replace parent, it just add new parent tree between our page and it own parent tree. Is is not bad, but in some situations maybe need different behavior, that i am can named full replace.
|
@Scrum This example was enough for me to roughly understand your goal.
It will take me a while to think about this solution. If you already have a solution, feel free to suggest it. |
Hi, in my project i am need full replace in parent breadcrumbs chain, some like that:
We have one unique page and two jump paths to it
Base > Group list > Group detail
Base > Member list > Member detail > Group detail
The first is main route in router tree to page with data, it used when user go from leftbar menu.
The second path is jumps to page, that path used when user go from leftbar menu to member detail page and use link to group.
All of i need is to show breadcrumb with that jumps path.
And in that case full replace parent chain in breadcrumbs will protect me from make two children tree in router.
Thank you in advance, and sorry for my bad english.
The text was updated successfully, but these errors were encountered: