-
Notifications
You must be signed in to change notification settings - Fork 218
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
SiteMapPathHelper without Childnodes? #125
Comments
If I understand correctly, what you describe sounds like a custom scenario that you would need to build your own model and HtmlHelper for. The SiteMapPath and Menu were not designed to work together like this. I am interested to know why you would want to put a menu on the SiteMapPath and would like to see an example of this functionality if it exists somewhere (a link will do). |
If I understand it correctly gkoletzki describes something like this: The approach is useful for complex sites, where traditional navigation schemes falls short. It would be a really nice addition to the project. |
Thanks for the link. The article was from 2007 and interestingly none of the links I looked at in the comments have navigation that looks anything like what is in the article. You did give me some ideas, though. It would be nice to have a way to chain menus together so you can arrange them in a menu > submenu hierarchy - meaning the submenu wouldn't be visible unless you are on the right tab of the main menu. Maybe that can be done already by specifying levels? If not, I see no reason why that can't be done using the positioning information in the site map to drive it. I haven't worked much with the actual UI components yet - my role here has mainly been to modify the back end to fix the caching issues, enable multi-tenant support, and allow the whole thing to be wired up using DI. I did all of that just to make this component compatible with my site. However, when I get to the point in my project where I am looking for ways to expand the menu, I will probably revisit this issue. |
In my case I wish he exhibited only the current path (nodes without children), and he is showing everyone (including children). How can I make the. SiteMapPath () show only the current path? |
@Ridermansb - Sorry, I am not sure I understand what you are referring to. Could you add some more details to your question? |
Hello,
I use the @Html.MvcSiteMap().SiteMapPath() to create a breadcrumb.
I will create a Breadcrumb with fly out menu for the Child nodes, but I can't do this because
the Childnodes collection is empty and will never filled in the SiteMapPathHelper.BuildModel.
Is any reason why the Childnodes are not filled?
If no... can you change this in the next release.... or can you explain me how I can create a Breadcrumb with fly out menu for childnodes ini the current version.
Thx a lot.
The text was updated successfully, but these errors were encountered: