on 06-14-2016 7:46 AM
I am trying to add new Menu in Apprals Website. Please explain how to add .
Hi Dileep,
Each of the item in the NavigationBar (Accessories, Brands, Snow etc.,) is an instance of NavigationBarCcomponent.
For your requirement, Follow these steps.
Create a NavigationBarComponent (Eg: MyComponent)
Create a NavigationNode with all the child link components (Eg: MyNavNode)
Assign MyNavNode to MyComponent
Assign MyComponent to Navigation Bar Collection Componeent in Header.
You can do this using cmscockpit or hmc or impex. Following are the headers of impex. Just populate with proper data and import.
INSERT_UPDATE CMSNavigationNode;uid[unique=true];$contentCV[unique=true];name;parent(uid, $contentCV);children(uid,$contentCV)[mode=append];links(uid, $contentCV);&nodeRef
INSERT_UPDATE NavigationBarComponent;$contentCV[unique=true];uid[unique=true];name;wrapAfter;link(uid, $contentCV);styleClass;navigationNode(uid,$contentCV);dropDownLayout(code)[default='AUTO']
INSERT_UPDATE NavigationBarCollectionComponent;$contentCV[unique=true];uid[unique=true];name;components(uid, $contentCV);&componentRef
Let me know if you need any other information.
Thanks Nithish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it is possible.
To add NavigationBarComponent,CMSLinkComponent Go to hmc--> WCMS--> Components (Refer the image)
To add CMSNavigationNode Go to hmc--> WCMS-->Navigation Node
To assign the NavigationBarComponent to the NavigationBarCollectionComponent
Go to hmc--> WCMS-->Components ---> Select "NavigationBarCollectionComponent" as the type to narrow down the search Then select the particular NavigationBarCollectionComponent & assign the newly created NavigationBarComponent
[2]: /storage/temp/5872-barcollection.png
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.