Drupal 7: Automatically create menu paths by heirarchy, parents to children rule

Introduction

In a previous blog post, we explained what hierarchical paths are, gave examples, and solved a problem with the pathauto module of Drupal 7 that caused certain links to contain a buggy "front" slug.

In this blog post, we will go deeper into all the issues that come with implementing a proper URL paths hierarchy in Drupal 7 and try to propose working solutions where possible.

Menu modules for no menu links or no menu URL validation

Any Menu Path

https://www.drupal.org/project/any_menu_path

This module allows you to put any relative path you'd like for a menu entry, even if the path doesn't exist on your site.

You might need this module for two reasons.

Special menu item nolink CSS to inherent default main menu style

Typical usage:

Using Special Menu Item module, you would typically:

Get reliable web hosting services

Recurring donation

Make Donation

  • Other: $

Donate now

Single donation

Make Donation

  • Other: $

Donate now