All the "similar content" modules out there find your similar contents based on Taxonomy.
Well, this one doesn't.
It finds your similar content based on the nodes' locations.
When you have Location module enabled, you will be able to find your similar content based on street, country or even more. And even better, this module allows you to choose which content types you want to show on each nodes' content type.
There is also a special feature which I needed when developping this module. On a view's page with exposed filters, I needed to show relevant content based on location. Therefore, you can set the filter's name to use this feature on a view's page.
Sandbox project : http://drupal.org/sandbox/Ralt/1126956
I appreciate you for giving me the opportunity to contribute to Drupal modules.
Regards,
Ralt
Comments
Comment #1
ccardea commentedCompleted initial project review:
* Licensing: No issues noted
* Module duplication: No issues noted.
Comment #2
ccardea commentedComment #3
ralt commentedHello,
Thanks for taking your time to review my module!
Looking forward to what's coming next :)
Comment #4
ccardea commentedCompleted the technical review.
Overall understanding of Drupal APIs: Demonstrates a good knowledge of Drupal and PHP in general. I did raise a couple of minor, non-blocking issues. See Sandbox Issue Queue
Security:
* SQL Injection - Used a variable in the SQL query string, but the value comes from an option list so this should not be a problem.
* CSRF - uses a single admin form, no probelms noted.
* XSS - All user input comes from the admin form, did not find any unsanitized output.
Internationalization: All appropriate strings have been run through t().
Coding Style: No problems.
Documentation: No problems.
Since this project is closely related to the Location project, and since it only provides a single block, a single menu item, and one configuration page, I suggested that Ralt should look into the possibility of working with the Location project to have this included as a feature.
Comment #5
ccardea commentedYou can see the module live on dmcmag.com.
If you check out any article, you'll see that the module is working with the title "Contenu transversal".
Comment #6
ccardea commentedThis project was offered as a feature to the Location project, but they have not expressed any interest. I recommend full project status for this application.
Comment #7
sreynen commentedHi Ralt,
Thanks for your contribution and welcome to the community of project contributors on drupal.org.
I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. As someone who has recently completed an application, your input would be especially useful in the code review group as we work to improve this process.
Comment #8
ralt commentedHi,
Thanks a lot! Especially to ccardea who helped me to build a better module.
Regards,
Ralt