Hi,
Is there plans to introduce D8 version of this module?
We (@InternetDevels team) would like to help you with development of this version.
Thanks, grask0.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Andriy Parkhomiuk’s picture

Issue tags: +Drupal 8.x
gagarine’s picture

Status: Active » Postponed

Thanks for your proposition. But for now, instead of working on a D8 version it would be better to spend your time to try to get this bug fixed in core #1543750: Allow menu items without path.

And sadly it's to late for this one #1287610: Create a Menu Item Type API.

I will work on the D8 version as soon as their is a RC out.

kingfisher64’s picture

Did this ever get fixed in d8 core?

Curious if we'll need this mod in 8?

Many thanks :)

gagarine’s picture

We will certainly need it.

zaphoyd’s picture

Hi all, now that the release candidates are out and a release date is announced I am wondering what the status of this port is and if there is anything that we can do to help make it happen?

Kristen Pol’s picture

Wonder how this sandbox module compares to Special Menu Items:

https://www.drupal.org/sandbox/danielbeeke/2515610

Also, if a D8 version is made, we could follow the convention that core might follow using "<none>" for the link.

akalata’s picture

Since any change in core won't happen until 8.1, I would love to see this available in contrib for 8.0.

gagarine’s picture

Status: Postponed » Active

So patch welcome.

gagarine’s picture

I agree https://www.drupal.org/sandbox/danielbeeke/2515610 is what we need. Simple and efficient. I don't think upgrade path is really that critical for this module.

gagarine’s picture

Michèle’s picture

Gagarine, does the "Menu link placeholder" sandbox module work for you? I get an Error 500 whenever I try to display the frontend (with an empty menu link placed on it)...

mod_fcgid: stderr: Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: "Route "" does not exist." at .../core/lib/Drupal/Core/Routing/RouteProvider.php line 191

Would be so nice to get it to work because I need this functionality immediately...

akalata’s picture

Title: Drupal 8 version » Drupal 8 version of special_menu_items

Updating issue title for clarity in dashboard views.

andypost’s picture

Version: 7.x-2.x-dev » 8.x-1.x-dev
holist’s picture

Not sure what has changed in core, but now on 8.1.10 it seems when the required flag is disabled by Special menu items, the "nolink" item's route gets transformed into "".

Quick and dirty patch included to change the preprocess function to look for that, this gets the module working for me. As the basic functionality is in 8.2.0 and it's coming out any time now, I don't think anything grander should be done about this before that. (If I understood correctly the Core issue, it'll be only necessary to circumvent form validation in a way that is reasonable to make it work in 8.2.0.)

holist’s picture

FileSize
881 bytes

Sorry, broken patch, new try.

holist’s picture

On 8.2.1, patch #15 is not required. Leaving link field empty results in the expected behavior.

Actually, the patch will break the functionality.

holist’s picture

#1543750: Allow menu items without path explains that no-link menu items can be created in >=8.2.0 by entering route:<nolink> into the link field.

rutiolma’s picture

Is there a roadmap for an alpha or beta release?
Is there any major task preventing a release? What can be done to help?

holist’s picture

If you want non-linking menu items in Core > 8.2, just enter route:<nolink> in menu item link field, you do not need this module.

frederico’s picture

Holist, this works for me. Thanks for letting us know!!

gagarine’s picture

Status: Active » Closed (outdated)

Great. I updated the documentation and therefore close this issue as core support no link.

kingfisher64’s picture

Thanks holist for update.

wooody’s picture

Thanks holist .. Thats great. route:<nolink>