This is a good module. It would be nice if the configuration settings included an option to rename the Menu title to suit the language for the site.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | mobile_navigation-missing-var-del-2135547-13.patch | 485 bytes | lauriii |
| #8 | mobile_navigation-dynamic-menu-label-2135547-8.patch | 2.99 KB | lauriii |
| #7 | mobile_navigation-dynamic-menu-label-2135547.patch | 2.99 KB | operations |
| #1 | menu_label.patch | 2.99 KB | mddunbar |
Comments
Comment #1
mddunbar commentedHere is a patch that adds an option to the configuration screen to allow you to change the menu label.
Comment #2
mddunbar commentedComment #3
izmeez commentedThe patch works great. It doesn't break anything and the Menu label can be changed. Thanks.
Comment #4
izmeez commentedComment #5
izmeez commentedA further simple improvement might be to add "☰ " to the start of the Menu label. It would be available for those who wish to use it and save them the effort of trying to find the correct utf8 character and those who don't want it can easily delete it.
Comment #6
hwasem commentedThis worked well for me, thank you! I used the character
☰to represent the ☰.Comment #7
operations commentedNice module! I liked the menu slide effect for sub-levels. @mddunbar I think we need to translate the menu label also. I updated the patch and added the menu_label element in t() function before passing it to javascript. Please review.
Thanks,
Comment #8
lauriiiRemoved whitespace
Comment #9
lauriiiComment #10
lauriiiComment #11
lauriiiCommited and pushed, thanks!
Comment #12
x7ian commentedThanks a lot for your ideas and great contribution.
I fixed the way the Drupal.settings.menu_label variable is handled so that it is sent to the mobile menu object at its construction at mobile_navigation.js so that Drupal.settings is not accessed directly from the mobile_menu.js. This is for trying to keep mobile_menu.js isolated from drupal so it is flexible and can be used in other environments.
Also using camel caps(menuLabel) as is the convention for other mobile_navigation settings.
http://drupalcode.org/project/mobile_navigation.git/commit/a7584d0
Thanks again!
Comment #13
lauriiiWe are still missing variable_del from install file
Comment #14
lauriiiCommited and pushed variable_del fix.
Comment #15
maustyle commentedthanks @hwasem for the ASCII
☰that shows "☰".works like a charm.
Comment #16
x7ian commentedPlease check the 7.x-2.x Roadmap: https://drupal.org/node/2204499
Its time to test the new version of Mobile Navigation.
This feature and many others included.
Comment #17
izmeez commentedThe character to represent image of a menu mentioned in #5, #6, and #15 is still not included in the 7.x-1.x-dev branch.