Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
# 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
Comments
Comment #2
mgiffordComment #3
Kristen PolComment #4
Kristen PolComment #5
gstout CreditAttribution: gstout commentedPretty please
Comment #6
Deciphered CreditAttribution: Deciphered at Realityloop commentedJust 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.
Comment #7
Deciphered CreditAttribution: Deciphered at Realityloop commentedFirst 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.
Comment #8
awasson CreditAttribution: awasson commented@Deciphered: Awesome. Thanks for jumping on this.
Comment #9
Deciphered CreditAttribution: Deciphered at Realityloop commentedNp. 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.
Comment #10
Deciphered CreditAttribution: Deciphered at Realityloop commentedSecond 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.
Comment #11
hoporr CreditAttribution: hoporr commentedJust 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.
Comment #12
Deciphered CreditAttribution: Deciphered at Realityloop commentedLatest 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.
Comment #13
Liakoni CreditAttribution: Liakoni commentedIs there any progress for the other styles to be usable in Drupal 8?
Comment #14
Deciphered CreditAttribution: Deciphered at Realityloop commentedI 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.
Comment #15
jwjoshuawalker CreditAttribution: jwjoshuawalker as a volunteer commentedWow, how am I just discovering this.
@Deciphered, may I use your code as the 8.x branch here on d.o?
Nice work!
Comment #16
Deciphered CreditAttribution: Deciphered at Realityloop commented@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.
Comment #17
jwjoshuawalker CreditAttribution: jwjoshuawalker as a volunteer commented@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.
Comment #18
Deciphered CreditAttribution: Deciphered at Realityloop commented@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.
Comment #19
snlnz CreditAttribution: snlnz commented@drastik and @Deciphered, what happened to the D8 port ending up here on D.O? Was there a problem?
Comment #20
mmjvb CreditAttribution: mmjvb as a volunteer commentedWith a dev release, Status should be Needs work.
Comment #21
renguer0 CreditAttribution: renguer0 as a volunteer commentedSo, no responsive menus in D8 at the moment?
Comment #22
jwjoshuawalker CreditAttribution: jwjoshuawalker as a volunteer commented@renguer0
The dev branch should be fine to use.