I was under the impression that a dummy link would place an unclickable placeholder link into the menu, like the Special menu items module (http://drupal.org/project/special_menu_items) does - but unfortunitly it is clickable and displays "This is a menu dummy.", so I'm not sure what the point of the Dummy menu item is.

Comments

isolate’s picture

It is not allowed to create a menu item without giving a link path... It is standard Drupal.

simon georges’s picture

A "dummy item" is a placeholder, for example for people that want to establish their complete menu hierarchy without having every content available, or things like that (at least I think).

simon georges’s picture

Status: Active » Fixed
danielnolde’s picture

Wording changed from "Dummy" to "Placeholder", text on placeholder page improved.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

klonos’s picture

Title: Confused about Dummy links » Support the special_menu_items module (if installed) for creating Dummy links.
Component: Documentation » Code
Category: support » feature
Status: Closed (fixed) » Active

I'd like to re-open this issue as a feature request to support Special Menu Items the same way you already support the Menu Position module.

I can see the logic behind the current implementation of "Dummy" items and that does have its uses, but you could have it so that if the Special Menu Items module is detected as enabled in the site, you could provide 2 additional options in the drop-down menu:

- Empty menu item
- Separator item

Upon clicking save, the menu item would be created either with <nolink> path or a <separator> path respectively for each additional option in the drop-down menu.

If you wanted to distinguish these items, you could have the word "special" be added to their labels in the drop-down menu:

- Special empty menu item
- Special separator item

Thank you in advance for considering this ;)

klonos’s picture

Title: Support the special_menu_items module (if installed) for creating Dummy links. » Support the special_menu_items module (if installed) for creating empty (<nolink>) & separator (<separator>) links.

...

simon georges’s picture

I'm eventually willing to consider a patch for it, but I won't develop the support myself.
@klonos, will you work on it?

klonos’s picture

Hey Simon, thanx for considering this. Unfortunately I don't speak php fluently and I have never coded for drupal.

simon georges’s picture

Status: Active » Postponed

Won't happen anytime soon, then... Maybe in D8, with the new menu system?

klonos’s picture

Pity :/ ...I fully understand though.

klonos’s picture

...I have let the Special Menu Items module maintainers know of this issue here: #2035565: Integration with the Custom Menu module.

Perhaps somebody with enough time/energy can code something for us ;)

simon georges’s picture

In D8, if #1543750: Allow menu items without path lands in, everything should be core, so it's would be natural to integrate with it ;-)

yareckon’s picture