How to create nested menues dynamically in Angular 2.0 - angular2-routing

suppose main menu nav1 containing items ni1,ni2,ni3 and each of these itmes containing their sub menues.
so please guide how to create main menu and its sub menues in angular 2.0

Related

Add authentication roles orangeHRM

I have added a new authentication roles for orangeHRM , it must access all menu and sub menu except Salary, i have added same roles which admin has to following tables.
ohrm_user_role_data_group
ohrm_user_role_screen
ohrm_data_group_screen
but it not coming as ordered like menu and sub menu, all are coming as menu only.
In ohrm_menu (Table which has the menu information) where you have to set the level of a menu item and the parent of a current menu item. So you can have your sub menus organized under a top menu item. See that helps!

display parent menu name and corresponding sub menu name in the sub menu pages in wordpress

I created parent and sub menus in word press.
Parent menus are custom links and don't have pages.
Sub menus are pages.
The menus are displayed in header area horizontally.
On hover the sub menus are displaying.
when clicking the sub menu,the corresponding page opens.
On that page i need to display corresponding parent menu and siblings of sub menu in left side of the page.
On the "About Us" page, the left-side navigation has been created manually.
I'd like to have similar submenus on other parts of website, too (About NDT, Membership etc.). How can I achieve that?
For example, this is About NDT section - note that on the left side we have "About Us" contents.
What I need is to have "About NDT" contents there - as annotated on image.
thanks

Umbraco 7: create menu datatype with submenus

How can I create a navigation menu data type with submenu items so that I can create it in the back office with properties like text, href, optional image? Something like dropdown multiple.
I've installed Umbraco 7.1.5 with NuGet in VS2013 and using Razor syntax.
EDIT:
Is it possible to create an object of type menu and edit it in the back-end's UI, for a non-developer. The user should add as many items or sub items as needed with those properties, with a plus sign. I've found this property editor. Is this possible using this property editor?
Create a Partial View (in the back-end under the SETTINGS section). If you create a new partial view, one of the pre-created snippets will be "navigation".
Then use some CSS menu (you e.g. created yourself or found on google), and try to match the navigation HTML to that of the CSS menu.
To include the partial view in the template just use
#Html.Partial("NameOfThePartialWithoutExtention")

How to count only number of "Page" elements in Kentico

I'm building Bootstrap 3 menu webpart and I need to count the number of child elements. The code below does that, but unfortunately counts all elements (hidden, containers, etc...). I need to count only "Page" elements, or at least elements that I have unchecked from being listed in the main menu.
<%# IfCompare(Eval("NodeChildNodesCount"),0,"class='dropdown-toggle' data-toggle='dropdown' ","") %>
Is there any way I could improve the code above to filter out all that is not a "Page" menu item?
I would suggest that you use a nested repeater which would only load the Page menu item below the selected section in the menu.
You could then provide the list item in the item template to match your CSS.

Creating Multilevel Menu at Runtime in ASP.NET?

I have database Structure like below
TblMenu >>
MenuID, MenuName, LinkPath, MenuDesc, MenuPosition, IsParent, ChildID
I am fetching Items at Runtime at Masterpage and want to display items properly with my desired CSS Class but Only Top Level (all items). Now I want to Display Sub-Menu Items also as dropdown. Kindly suggest a way yo get that with ASP.NET and C#.
-John Bhatt

Resources