Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module allow to add maximum width of browser (you can find in "Publishing options" section), for what the page is populating correctly. In smaller devices it show drupal message. The message can be default, that configurable and placed in /user-interface/warning_message and can be custom for each node, that places in node "Publishing options" section.
Project Link:
https://www.drupal.org/project/viewport_alert
Projects Git URL
git clone --branch 7.x-1.1 git://git.drupal.org/project/viewport_alert.git
Comments
Comment #2
Hayk Hayrapetyan CreditAttribution: Hayk Hayrapetyan commentedComment #3
Hayk Hayrapetyan CreditAttribution: Hayk Hayrapetyan commentedComment #4
PA robot CreditAttribution: PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgprojectviewport_alertgit
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 #5
shashikant_chauhan CreditAttribution: shashikant_chauhan as a volunteer and at Iksula commentedManual Review
1. Project git URL which you have posted here is incorrect. Post git URL of dev branch.
git clone --branch 7.x-1.1 git://git.drupal.org/project/viewport_alert.git
I have referred this git repo [ git clone --branch 7.x-1.x https://git.drupal.org/project/viewport_alert.git ] for below review.
2. The module readme file is not as per the Drupal recommendations. Please refer below link for module readme file template. https://www.drupal.org/docs/develop/documenting-your-project/readme-temp...
3.
function _viewport_alert_message_configure_form($form, &$form_state)
is not correct way for creating config forms.Please refer Creating the configuration form
4. Always use t() to sanitize the data.
drupal_set_message($message, 'alert-width warning');
5. Looks like there is duplicate code in viewport_alert_node_insert & viewport_alert_node_update
Comment #6
PA robot CreditAttribution: 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.