How to have a Orchard Menu Item be relative to page it is on

Topics: General
May 1, 2013 at 3:40 PM
Edited May 1, 2013 at 3:47 PM
I am including a navigation menu widget on several layers and would like to target the URL's relative to whatever layer they are on.

I only want the menu item links to be hashes like #foo, #bar etc - but they need to be relative to the layer they are on i.e. layer rules would be url("~/somepage*") and another layer would have a rule of url("~/anotherpage*"). When entering the menu items url's, I need them to be relative to the layer they are on i.e. ~/somepage/page1#foo or ~/anotherapage/page1#foo
Developer
May 1, 2013 at 4:28 PM
What happens if you simply enter #foo as the URL of a menu item?
Is your issue similar to this one: https://orchard.codeplex.com/workitem/19467 ?