Page 1 of 1

4.0.0 - How to Create Menu tree using - blc_cms_menu_item

Posted: Wed Jul 08, 2015 4:32 pm
by sumit784
Hi,

So,I am trying to migrate to 4.0.0 and working around the Menu. So, as I see, the menu is now being changed to be generated from CMS_menu table.

In blc_cms_menu_item, how to I create the category - sub-cateogry tree, to be shown as menu on UI, like it was in previous version, where i just need to add them to blc-category table.

So, if I want to do this :-
Home and Shop by category is created by this :-
INSERT INTO BLC_CMS_MENU_ITEM (MENU_ITEM_ID, PARENT_MENU_ID, SEQUENCE, MENU_ITEM_TYPE, ACTION_URL, LABEL) VALUES (1, 1, 1, 'CATEGORY', '/', 'Home');
INSERT INTO BLC_CMS_MENU_ITEM (MENU_ITEM_ID, PARENT_MENU_ID, SEQUENCE, MENU_ITEM_TYPE, ACTION_URL, LABEL) VALUES (2, 1, 2, 'CATEGORY', '/shop-by-category', 'Shop by Category');

But, now I want to add several other child categories to "Shop by category", inorder to show a dropdown menu on homepage.

Eg :- Shop By Category
- Electronics ( cat id - 111)
- - Mobile ( cat id - 222)
- - - - Samsung ( cat id -333)

Now, what values should go in BLC_CMS_MENU_ITEM or Is my old "Blc_category" still works for getting the Menu tree ?

Thanks in advance.

- Sumit

Re: 4.0.0 - How to Create Menu tree using - blc_cms_menu_item

Posted: Mon Jul 27, 2015 4:30 am
by phillipuniverse
You can make the MENU_TYPE a 'SUB_MENU' and then populate the linkedMenu property to have another menu be a child.

Re: 4.0.0 - How to Create Menu tree using - blc_cms_menu_item

Posted: Mon Jul 27, 2015 8:56 am
by sumit784
Thanks for replying.

Does the menu currently supports only 2 level or Can I added a multilevel menu, like :-

- PARENT --> SUB_MENU --> SUB_SUB_MENU ---> SUB_SUB_SUB_MENU

If this is supported , then what the menu types to be inputted for all of them. Where can I read the detailed documentation on Menu.

- Sumit

Re: 4.0.0 - How to Create Menu tree using - blc_cms_menu_item

Posted: Mon Jul 27, 2015 10:37 am
by phillipuniverse
Yes, you can make as many submenus as you want.

We do not currently have detailed documentation on this.