1

I am creating a website in which i am trying to display the submenu into view block . how can i do this.

menu is Like

A -B-c

D -E-F

I have to display in block view

like This is view block

B C | E F

this have to display in views block using view.

  • Menus created in Drupal become available in block section. So you can show your menu items in block.But still your question is unclear, please be specific if I could help it in any way. – Astha chauhan Dec 6 '13 at 5:45
  • Hello, Please take some time and provide more information whatever you have tried and whatever issue you have found. – Jayendra Kainthola Dec 6 '13 at 5:52
  • are you using views 3 or views 2 ? – Bala Dec 7 '13 at 10:36
  • You can call a menu block using module_invoke(); ( api.drupal.org/api/drupal/includes!module.inc/function/… ) function to add in view. – Ashish T Sep 14 '14 at 19:06
1

If you use Views 3 then install Views Menu Area module, you can show any menu in the views block.

  • Enable the module
  • Edit your preferred view
  • Click "Add" link in header/footer section
  • Check "Global: Menu area" and click "Add and configure footer" button
  • Enter label and select the menu you wish to list links from
  • Click "Apply" button and save the view

enter image description here

also take a look at Menu Views module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.