#Drupal #module development · #Modules · #theming . #PHP #Drupal 7

Events happening in the community are now at Drupal community events on www.drupal.org.
chris mcgrath's picture

Local Freelancers

Hey LA and Irvine Drupalers. If anyone is looking for freelance opportunties in the Irvine / LA area and has Senior PHP / D7 experience let me know cmcgrath@celebratedrupal.com

We are also interested in speaking to anyone with React.js experience

Read more
eforbes's picture

Need Some Theming Experience

Hello Drupalites! Hope everyone is enjoying the new year so far. Just want to know if anyone is working on a project that involves theming. I am just a beginner but I am willing to learn. I have good HTML5 and css3 skills so that would be a big plus for you. Please let me know ASAP.

Read more
Anonymous's picture

How to get all the menu items below a certain parent in drupal 7?

I am currently working on a module that finds out the parent menu item by url path then displays the current tree structure of that related menu by finding the top parent and most important only displaying that menu item and submenus from within that menu.

A simple solution would be having a foreach loop thru all items or an array with all items as keys.

path = '/system/menu/submenu';
parent = 'system';
output = parent + parent submenus.

All menu items in "Custom menu":
- System
- Menu wrapper
- SubMenu 1A
- SubMenu 2A

Read more
Subscribe with RSS Syndicate content