cancel
Showing results for 
Search instead for 
Did you mean: 

How To Add New Menu(next to Accesseries) in Appreal

Former Member
0 Kudos

I am trying to add new Menu in Apprals Website. Please explain how to add .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

former_member621020
Active Participant
0 Kudos

Impex file to edit is "cms-content.impex" in "sampledata" folder of your custom initial data extension. Ex: abcacceleratorinitialdata

Former Member
0 Kudos

Thanks a lot Nithish How to add using HCM.could you please tell me the step.

Former Member
0 Kudos

Thanks Madhavi

Former Member
0 Kudos

Hi Dileep,

Do you mean, How to load the impex using HMC?

You can use one of the following ways to load impex.

  • Go to hac, console -> impex import. Paste your impex and import

  • Go to hmc, system -> tools -> import. Upload the import file and import

Thanks Nithish

Former Member
0 Kudos

I want to know if any possibility to add menu Through HMC Like add category,Product etc.

former_member621020
Active Participant
0 Kudos

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

Answers (0)