# Summary

Responsify your menus! Just give me a CSS/jQuery style selector of your menu and I will make it mobile friendly (when the time is right).

# Project URL

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

# Where is the code?

None yet

# Estimated completion date

Unknown

# Dependencies

Unknown

# Who's doing the port?

Unknown

# What help do they need?

Unknown

# D8 roadmap

Unknown

# Background and reference information

#2606906: Please Port Responsive Menus to Drupal 8

Comments

mgifford created an issue. See original summary.

mgifford’s picture

Kristen Pol’s picture

Issue summary: View changes
Kristen Pol’s picture

Issue summary: View changes
gstout’s picture

Pretty please

Deciphered’s picture

Just a quick note to say that I have started on an D8 port and will commit the progress so far at the end of the day and link to the git repository.

I need this for a client, so I will be progressing as quick as possible.

Deciphered’s picture

First commit made. Still a lot of work to do before the module is usable, but a large chunk of the functionality has been ported across into Drupal 8 plugin system (with a new plugin type ResponsiveMenus created).

You can follow development at https://github.com/Realityloop/responsive_menus.

I expect to have a usable release (even in a basic form) before the end of the week.

awasson’s picture

@Deciphered: Awesome. Thanks for jumping on this.

Deciphered’s picture

Np. Additional commit coming in the next hour, not finished yet, but a lot of progress has been made (including having PoC'd that the simple menu can work in D8).

I have also removed all the Context based integration for the moment as it's not yet applicable.

Deciphered’s picture

Second commit pushed. Plugins are 90% ported (still need to deal with the libraries and settings storage systems) and as such the administration UI is about 99% complete.

Should only take one more round of work, but I won't be able to do that till after the weekend.

The Simple menu can be used with the current work by simply changing the default value for the jQuery selector on the following line: https://github.com/Realityloop/responsive_menus/blob/8.x-1.x/src/Plugin/...

However I would suggest that unless you know what you are doing not to use this port at the stage as it is not yet ready.

hoporr’s picture

Just tried this, and it works! (when you change that one line in the code with your selector)
Thanks!
looking forward to when you can save the configs.

Deciphered’s picture

Latest commit allows you to actually save the plugin (menu style) settings, making it usable now. Limitation is that only the 'Simple expanding' menu style is currently usable, the other styles will start to be added in the next commit. PRs welcome though.

Liakoni’s picture

Is there any progress for the other styles to be usable in Drupal 8?

Deciphered’s picture

I haven't had time for any more development, and am unlikely to in the near future unless it's a requirement from a client, however the code is sitting there for anyone who wishes to get involved. I'll even review PRs made to my repo, or feel free to make your fork the theoretical canonical source.

jwjoshuawalker’s picture

Wow, how am I just discovering this.

@Deciphered, may I use your code as the 8.x branch here on d.o?

Nice work!

Deciphered’s picture

@drastik Absolutely, that is the intent. I'd appreciate credit to my company (Realityloop) in the Supporting Organisations section, but it's not mandatory, I'll leave up to you.

jwjoshuawalker’s picture

@Deciphered,

I'll put you as the author of the commit.

On the project page, I'll put the credit line in as so, let me know if you want it worded any differently (or what URL "Realityloop" should link to):

Supporting Organizations

Drupal 8 port thanks to Realityloop.

Deciphered’s picture

@drastik, If you just use the built in Organisations aspect of the project page, link it to the Realityloop Organisation. Otherwise, http://realityloop.com.

Thanks, appreciated.

snlnz’s picture

@drastik and @Deciphered, what happened to the D8 port ending up here on D.O? Was there a problem?

mmjvb’s picture

Status: Active » Needs work

With a dev release, Status should be Needs work.

renguer0’s picture

So, no responsive menus in D8 at the moment?

jwjoshuawalker’s picture

@renguer0
The dev branch should be fine to use.