Module Description
By default, Drupal requires that you enter a path for each menu link you add/edit from the Menu administration page. There are cases you may want to create a parent item, without any path, that simply links to its first viewable child item. Menu Firstchild provides this functionality.

Instructions

* Install the module like any other module.
* Navigate to admin/structure/menu and choose the menu you want to customize.
* Add a new menu link or edit an existing link then enter <firstchild> as the link path to turn it into a parent item linking to its first accessible child.

Known issues
Breadcrumb might be wrong. This is not a bug of Menu Firstchild but a problem linked to Drupal's weak default breadcrumb system. To solve breadcrumb issues, whether using Menu Firstchild of not:


* Try Menu Breadcrumb.
* Read #732370: Go as deep as possible when building the active trail.

Contact
This module is sponsored by Absyx. If you like this module, please review Absyx.

2.x Branch for Drupal 8+ Instructions

* Install the module like any other module.
* Navigate to admin/structure/menu and choose the menu you want to customize.
* Add a new menu link or edit an existing link then check the "First child" checkbox to turn it into a parent item linking to its first accessible child.

Project Usage
12751
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Release Candidate
Module Summary
Menu Firstchild module provides the functionality to create a parent menu item without a path, linking to its first viewable child item.
Data Name
menu_firstchild

OPENAI CHATBOT

OPENAI CHATBOT

19:17:17
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.