Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2010 at 05:56 UTC
Updated:
31 Aug 2018 at 19:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
yesct commentedI think you need to attach an archive of the actual code for your finished module...
You might want to read http://drupal.org/node/539608
Especially the bit about "Here is a list of common motivation messages that, more often than not, get declined/rejected. If your motivation message resembles one of these then please, think before applying.
[....]
* I am planning to create modules / themes. Who applies for a CVS account should have already a module / theme. The purpose of a CVS application is to review code, and verify the degree of understanding about how a Drupal module is written; without a module there would not be a review, and there is not CVS application. For the same motivation reported in the previous point, future CVS applications reporting only this motivation will be declined. "
Comment #2
avpadernoThere have not been replies in the last week. I am marking this application as .
Comment #3
khoomy commentedThe Taxonomy Node Filter module is designed to present an easy-to-use block interface for narrowing down taxonomy listings to find topics that are tagged by multiple terms. There are upto ten blocks can be created initially. In each block settings form administrator can attached one or more vocabularies. Taxonomy Filter Block display a form with drop down taxonomies. Upon submit page is redirected to drupal default taxonomy page as /taxonomy/term/x,y,z
Comment #4
khoomy commentedHi kiamlaluno
I have postponed my project "Maptimize" and i will work on this later. Currently i have developed new project "Taxonomy Node Filter" and want to add in drupal. How can i apply for new project. you can see my new project in last comment.
Thanks
Comment #5
avpadernoComment #6
khoomy commentedComment #7
khoomy commentedcan you please review my project taxonomy_node_filter
Comment #8
avpadernodrupal_goto(), in Drupal 6.t()must be a literal string; differently, the script that extracts the string to translate to create the translation template will not be able to extract the string, which would not be translatable (if not in the case another module uses the same exact string, but it's rather difficult it happens, when the string is dynamically changed).Comment #9
khoomy commentedI have removed drupal_goto and used $form_values['redirect']. t() is used properly. and used sentence case for user interface strings.
Please review latest updated code attached herewith.
Comment #10
avpadernoRemember to change status, when you upload new code, or nobody will notice you updated the code.
Comment #11
khoomy commentedComment #12
avpadernoThe field assigned is used to mark who will review the code for this application; who is applying for a CVS account cannot review is own code, for obvious reasons. :-)
Comment #13
khoomy commentedso what status should i use for latest code?
Comment #14
avpadernohook_uninstall().Comment #15
khoomy commentedDrupal coding-standards applied on all files of modules and verified by http://drupal.org/project/coder
hook_uninstall is implemented.
Comment #16
khoomy commentedComment #17
drupalshrek commentedHi khoomy,
I'm not an expert, but I'm having a look to see if I can help this application along...
Good:
1) A README.txt hooray! You'd be surprised how many people submit modules without even that. Although it's not required, you wonder why people create modules without explaining to people how to use them. And named README.txt, hooray!
2) Coder finds 0 errors :-)
3) Install does variable_del()
4) t() used for translations
5) Every function commented
6) No SQL, so no problems there
Not so good:
1) README.txt tells me how to install, but many users (such as me!) will use this file as a primary source of information about what the module does and how to use it. I can see that you can write good docs when you want, so go for it! Though README.txt is not obligatory (for reasons I don't understand), so that's not blocking.
Nothing I see wrong with this application. For me it's RTBC.
Comment #18
lorinpda commentedHi,
First, this is a really great utility :) I haven't done a survey of all the taxonomy related contributed modules, however just reviewing functionality this module provides, seems really useful.
You module provides a form that allows the user to select nodes based on multiple taxonomy terms. First a couple design comments:
At first, I thought the module was returning incorrect results. However, that's because there is no indication whether the query is a logical "AND" , or logical "OR".
To summarize, it works fine as a logical "AND", however your documentation should spell that out to users.
Next a technical suggestion:
Hope that helps.
Comment #19
avpadernoI am changing status as per previous comment.
Comment #20
khoomy commentedThanks lorinpda
Now from block configuration page user can set logical operator for multiple terms as 'OR' or 'AND'.
$form['#post'] is replaced with $form['#values']
Please review the code (comment #21)
Comment #21
khoomy commentedUpdated
Comment #22
khoomy commentedPlease review the code
Comment #23
yasir farooqui commentedComment #24
avpadernoComment #25
lorinpda commentedHi,
I installed the version of your module posted in comment #21. I installed and tested on a Drupal 6.20 installation.
Nice job! Really close.
Here are my issues:
In your case, really nice feature to allow folks to set 1 to 10 blocks. However you are now close or at the point to where your settings should be persisted in a separate database table.
It looks like you are storing up to 21 entries in the variable table. Is that correct?
I'll leave it at that. Maybe other reviewers have a better grasp of what the threshold is for use of the variables table.
If you wanted to style the form you would implement hook_theme() first. That tells the theme engine that your module is going to style (theme) some components. Next you would set a #theme element in your form which points to a new method like theme_taxonomy_node_filter_form().
Hope that helps.
Lorin
Comment #26
khoomy commentedHi Lorin
Many thanks for appreciation and useful suggestions.
There is only one variable now. I have created separate database table for storing block specific settings and implemented hook_schema for new table.
I did not added drupal_add_css() in hook_init() because this hook is called on each request even the form is not being displayed. CSS should only be displayed when there taxonomy node filter form is being displayed. Now I added drupal_add_css() in theme_taxonomy_node_filter_form().
hook_theme and theme_taxonomy_node_filter_form are implemented now for themer. Template file for block is implemented.
Multiple elseif are converted to switch/case construct in hook_block.
Again thanks for the help
Comment #27
lorinpda commentedHi,
I reviewed the version of your module posted in comment #26. I installed you module on a Drupal 6.20 installation. Nice job, real close, just a few issues:
So all you need to do is change that line to:
db_query("DELETE FROM {taxonomy_node_filter} WHERE delta = %d", $delta);function theme_taxonomy_node_filter_form(&$form) {, the parameter is supposed be passed by value rather than reference. Thus please consider changing to:function theme_taxonomy_node_filter_form($form).function taxonomy_node_filter_uninstall() {you a statementglobal $conf;. Sorry, I couldn't figure out what purpose that line serves. I comment it out and tested you uninstall routine. Worked without theglobal $conf;, there I would consider removing that line.Again, great job, really close.
Hope that helps.
Lorin
Comment #28
arianek commentedHi. Please read all the following and the links provided as this is very important information about your CVS Application:
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications
Comment #29
khoomy commentedHi,
Please find updated module. Module is now passed by coder.
Comment #30
zzolo commentedHi. Please read all the following and the links provided as this is very important information about your CVS Application:
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications
Comment #31
khoomy commentedComment #32
khoomy commentedTrailing spaces removed
CVS tags are removed
Passed by coder module
Sandbox project link: http://drupal.org/sandbox/khoomy/1075606
Comment #33
meba commentedIMHO good to go
Comment #34
mlncn commentedCongratulations, you know can promote sandbox projects to full status ones!
Nice work and when you would like further review for any module please do ask for one at http://groups.drupal.org/peer-review/requests
A little bit of cleanup/checking called for-- you call your implementation of hook_menu() "Implementation of hook_block()." ;-)
benjamin, agaric
Comment #37
avpaderno