- 10
hi there, i have added a button to the header menu (categories) and am trying to get a drop down box with links to all my categories, this is the code i have added so far in
views/common/menu.cshtml
@Html.Action("WidgetsByZone", "Widget", new { widgetZone = "header_menu_before" })
<li><a href="@Url.RouteUrl("HomePage")">@T("HomePage")</a></li>
<li><a href="@Url.RouteUrl("Category")">@T("Categories")</a></li>
this gives me my button but am not sure how to proceed from here or if i have got the right code or the right place for that matter ?
thanks for any help you can give.
views/common/menu.cshtml
@Html.Action("WidgetsByZone", "Widget", new { widgetZone = "header_menu_before" })
<li><a href="@Url.RouteUrl("HomePage")">@T("HomePage")</a></li>
<li><a href="@Url.RouteUrl("Category")">@T("Categories")</a></li>
this gives me my button but am not sure how to proceed from here or if i have got the right code or the right place for that matter ?
thanks for any help you can give.