Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2013 at 10:37 UTC
Updated:
8 May 2013 at 04:25 UTC
Description: DrupalTide is a Drupal port of WPTide, which is a WordPress plugin for displaying XTide tidal predictions. This module uses tide prediction data output from XTide in order to allow users of your site to view tide tables and lunar cycles.
Sandbox: http://drupal.org/sandbox/jlea9378/1911416
Drupal 6 Source:
git clone --recursive --branch 6.x-1.x http://git.drupal.org/sandbox/jlea9378/1911416.git drupaltide
Drupal 7 Source:
git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/jlea9378/1911416.git drupaltide
Comments
Comment #1
npscode commentedHi jlea9378,
Comments after a quick manual review of drupal 7 version :
Your .info files contains release version. It automatically gets added by the packaging script on drupal.org (the version/info/timestamp info). These lines should be removed from your .info file. Have a look at an established contrib module's info file, you'll see which lines automatically get added.
I also ran your module through PAReview, which lists all the code style issues, and a few other ones, see http://ventral.org/pareview/httpgitdrupalorgsandboxjlea93781911416git for the report. You can re-run the review after you've made changes, to verify your progress.
There is still a master branch, make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
Try to use standard way of drupal 7 for selecting data from tables. refer : api.drupal.org/api/drupal/includes!database!database.inc/function/db_select/7. db_query() (at line 61 in drupaltide.module) will work but try to avoid this in drupal 7.
Thanks..
Comment #2
dDoak commentedHi,
A quick manual review :
- in drupaltide_block_info if (TRUE) is not necessary code.
- in drupaltide_block_view you should externalize HTML code in a template. Create a theme entry via hook_theme
- I d'ont understand why you alter your own schema during hook_install process. Why don't declare the foreign key in hook_schema : http://drupal.org/node/146939
Thx
Comment #3
he0x410 commentedHi,
From manual review, comments are:
drupaltide.module
/**
* @file
* file description goes here
*/
Comment #4
jlea9378 commentedThanks for the feedback. I will try to make the corrections and comment back here with questions or to let you know that I've made the changes. It might be a week or so before I can get it done.
Comment #5
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.