Sidr Responsive Menu module creates a mobile device friendly toggle menu when viewing the site under mobile resolutions.
This module integrates the Sidr JS library with Drupal.
The module provides configuration options for choosing the Drupal menu you want to show as a Sidr responsive menu, along with options for how you want the toggle button to be rendered for toggling the menu. By default the module provides a image, with options to either have text or upload a custom image to be used as the toggle button icon.
This modules aims to provide a neat integration with a responsive menu library so that when developing a responsive site we have a out of the box solution for creating a responsive menu.
I aim to add more configuration options in the future releases of the module.
URL to project page: https://www.drupal.org/sandbox/Swarad/2092357
GIT clone command: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/Swarad/2092357.git
Manual reviews of other projects:
Comments
Comment #1
swarad07Comment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxSwarad2092357git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
swarad07I had already checked pareview.sh, the three warnings are from the minified JS and CSS file from the sidr library.
Marking as needs review again.
Comment #4
klausiThe Libraries API module is a recommended method for adding 3rd party dependencies without directly including the code on Drupal.org.
Comment #5
swarad07Ok thanks. I will add the libraries using Libraries API.
Comment #6
swarad07Thanks @klausi.
I have removed the third party code and added the library using the Libraries API.
Comment #7
ajalan065 commentedHi swarad07,
1. I have followed your README and have done as you have guided.
But not able to catch the functionality of your module, so can you please upload a screenshot showing the functionality?
2. Secondly, in the .info file, you need not explicitly declare the js and css files. Instead declare them in your .module file, See drupal_add_js() and drupal_add_css()
3.
in your sidr_responsive_menu.module is empty. You should remove it if not required.
4. Before initializing $sidr_js, you should keep a check as:
Comment me if I am wrong
Comment #8
swarad07Thanks @ajalan605.
#1: Try the latest now, it should give you a toggle link to open/close a resposnive side menu when you resize yoir browser or view the website in mobile resolution.
#2. True, but drupal_add_js() and drupal_add_css() are one of the many ways to add css & js, since I need the module's css and js on all pages I chose to put it in info.
#3. Duh! Good catch, I completely forgot about that. Wish pareview.sh would have caught that.
#4. Since I have declared libraries >2.x in .info file, the libraries module & its function will always exist.
Comment #9
Anonymous (not verified) commentedI think you duplicate functionality of existing project. Did you see that module https://www.drupal.org/project/responsive_menus.
It have already has Sidr library implementation.
Comment #10
Anonymous (not verified) commentedComment #11
ajalan065 commentedHi swarad07,
Generally the declaration of js and css are not encouraged in .info file as you donot have any control as to when the js and css should be invoked. If its solves your purpose with least complexity, then its alright.
However, I came across the function process_page function
See whether it can be of some use for this purpose. I would be happy to explore new stuffs with your module.
Comment #12
swarad07@ajalan065: The preprocess & process functions belong to theme and not modules. Using those would mean a dependency on theme, which should not be the case.
@bobrov1989: I did not know that Responsive menus had integration with Sidr, however I intend to integrate all use cases of sidr plugin and not just responsive menus. The plugin is useful to create side menus too and as said I intend to integrate all the usecases ad provide configurations for all via this module.
Comment #13
ajalan065 commentedComment #14
swarad07Added some more reviews I have done in the last few weeks.
Comment #15
prateekjain commentedComment #16
klausiRemoved review links that are not manual reviews of source code.
Comment #17
klausiReview of the 7.x-1.x branch (commit dbb0631):
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
manual review:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #18
swarad07Thanks klausi. let me work in it.
Comment #19
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.