The KinSlideshow module provides a block to display KinSlideshow(a kind of slideshow).
The moudle is for drupal 7.
It's very easy to configure.
git repository is: git clone --branch master http://git.drupal.org/sandbox/elim051/1888950.git kinslideshow
Sandbox Project Page: http://drupal.org/sandbox/elim051/1888950
Comments
Comment #1
elim051 commentedComment #1.0
jthorson commentedadd git repository.
Comment #2
jthorson commentedPlease add a link to your sandbox project page, in addition to the git repository location.Edit: Never mind ... I added the link.
Comment #3
jthorson commentedI've taken a quick look at the sandbox. The coding structure and logic both look pretty clean, but I do have a few of questions/suggestions/concerns:
files[] = kinslideshow.moduleshould be removed from your .info file. It's only necessary to declare files[] if they declare a class or interface.I've ran an automated coding standards scan, with the results available at http://pareview.ventral.org/pareview/httpgitdrupalorgsandboxelim05118889... ... not alot there, mostly just whitespace issues. If you can address the items flagged by the review script, it should save you from other reviews which don't offer anything beyond telling you to fix your whitespace. ;)
Comment #4
jthorson commentedComment #5
elim051 commentedjthorson, Thank you for review.
1. All code errors have been corrected.
2. About 3rd party code: I have already had a contact with Mr.Kin the author of the jquery.KinSlideshow-1.2.1.min.js code. He said I can use it freely. And there's no official release, it's very difficult to find.
Comment #6
jthorson commentedelim051:
Even with permission, the software would have to be licensed under the GPLv2 license in order to be allowed on Drupal.org. By hosting code on Drupal.org, it falls under the drupal.org repository licensing, and is automatically considered GPLv2 licensed. The KinSlideshow code is listed as Apache 2.0 licensed, so it doesn't meet the licensing requirements.
I see two options here:
Exceptions to the above have been made for 3rd party code included in Drupal core, but each needed to obtain a specific exception. To my knowledge, no contrib module has been granted this exception to date.
There is another motivation to using the Libraries API approach ... while this is not likely with the KinSlideshow module in particular, consider the case where two different modules include a particular 3rd party jquery library in their module folder. This opens up all sorts of possibility for code conflicts, especially if they use two different software versions of the particular library. By using the Libraries API, both modules can leverage a single instance of the library codebase, and the potential for namespace/code/versioning conflicts is avoided.
Even though end users are not likely to encounter two different modules which use the KinSlideshow library in particular, it would be prudent to leverage the Libraries API in order to maintain consistency with the other libraries used by your end users.
Comment #7
elim051 commented1. Delete js folder and kinslideshow plugin.
2. Use Libraries API to load kinslideshow plugin.
Comment #8
jthorson commentedAssigning to self as a follow-up reminder. (Though another reviewer can feel free to review if I haven't got to it yet.)
Comment #9
klausiWe are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #10
andeersg commentedFound a couple of errors when doing automatic test with ventril.org.
You should handle the possibility that someone puts your block in a region before they add content to it. Now it throws errors:
Other than that it was easy to set up and the readme-file was easy to understand.
Comment #11
elim051 commentedAll bugs has been fixed.
Comment #12
drupik commentedHi elim051.
I installed your module, it works flawlessly. Is a little uncool that we can add only one block, it would be great if we could add more block instances.
I think Your project page is too short, you have a good README.txt , maybe copy them to the project page?
Regards.
Comment #13
sreynen commentedComment #14
davidam commentedFrom automatic review (http://pareview.ventral.org/pareview/httpgitdrupalorgsandboxelim05118889...):
36 | ERROR | If the line declaring an array spans longer than 80 characters,
| | each element should be broken into its own line
36 | ERROR | The $text argument to l() should be enclosed within t() so that
| | it is translatable
Comment #15
elim051 commentedI think there is no error, just like other modules.
Comment #16
elim051 commentedComment #17
sreynen commentedelim051, I think you're probably right, but can you explain *why* you think the reported errors don't need to be fixed?
Comment #18
elim051 commentedI m sorry for my poor english. Because that line is copied from the drupal core module.
Comment #19
kscheirerYou project page should include more detail, consider copying over the text from your README.
You don't need the empty return statement in kinslideshow_block_save().
The l() comment on line 36 is ignorable, because the text is a plain url and does not require translation. The line length issue is valid though - you could break it up into multiple lines for readability.
Minor issues though. I don't think there are security problems.
----
Top Shelf Modules - Enterprise modules from the community for the community.
Comment #20
kscheirerWell, it's been two weeks and the code still looks ok. All of the above issues still apply however, and there's a few more at http://ventral.org/pareview/httpgitdrupalorgsandboxelim0511888950git.
Thanks for your contribution, elim051!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
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. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
----
Top Shelf Modules - Enterprise modules from the community for the community.
Comment #21.0
(not verified) commentedAdded link to sandbox