jQuery.carouFredSel is a plugin that turns any kind of HTML element into a carousel. It can scroll one or multiple items simultaneously, horizontal or vertical, infinite and circular, automatically or by user interaction. The jQuery library is available on http://caroufredsel.dev7studios.com.

carouFredSel slider module for Drupal

  • Adds a carouFredSel slider formatter to image fields.
  • Provides configuration UI for various carouFredSel settings.
  • Themeable output for slider and individual items.
  • Integrates with the Libraries module.

Project page: http://drupal.org/sandbox/bkonetzny/1919580
Git repo: git clone --recursive --branch 7.x-1.x git@git.drupal.org:sandbox/bkonetzny/1919580.git caroufredsel_slider
Drupal version: 7.x
Module version: 7.x-1.x

Reviews of other projects

CommentFileSizeAuthor
#17 coder-results.txt1.1 KBklausi

Comments

klausi’s picture

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

We 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 :-)

bkonetzny’s picture

Thanks for the reply, I removed the master branch.

dudycz’s picture

Status: Needs review » Needs work

I think you should add dependencies on Field and Field UI

bkonetzny’s picture

Status: Needs work » Needs review

@dudycz: As image itself has a dependency to field, I thought my module won't need that. Sorry, I misread the file dependency in the image module for field. I checked other field modules and I think you are correct, I will add the field dependency to this module.
Adding a dependency for field_ui is not needed, as this would prevent deploy within the features module, where field_ui is not enabled and not needed.

bkonetzny’s picture

Issue summary: View changes

added section "Reviews of other projects"

arnoldbird’s picture

It's not clear to me how to use the module. I think the README needs some more work. I was able to install the module and related library but am not sure where to go from there. At what path in the UI can I see the interface/functionality this module adds? I had a look in the settings for one of my image fields, but the settings form appears to be unaffected by this module. Please add some more instructions/examples for usage in the README, so people know how to get started.

At first glance the PHP seems pretty clean, although there are four problems the coder module catches. I recommend installing the coder module and using it to inspect the code, and you'll quickly fix those little problems. http://drupal.org/project/coder -- Of course, you may already have done this and I may be seeing some minor problems that have crept in more recently.

arnoldbird’s picture

Status: Needs review » Needs work
bkonetzny’s picture

@arnoldbird: I supposed the text "Adds a carouFredSel slider formatter to image fields." in the features section made clear, that this is a field formatter. So there is no UI this module can link to. You get an additional formatter for image fields in the manage display section of every content type. I try to add some screenshots on the project page and take a look at the feedback from the coder module again.

arnoldbird’s picture

"You get an additional formatter for image fields in the manage display section of every content type."

Thanks. That's what I needed. I will have another look!

bkonetzny’s picture

I fixed and committed the coder issues, but still have one issue for the @file comment in the js file. I think this one is invalid, as I don't find this form of comment in the core js files and also no documentation on d.o for this: http://drupal.org/node/172169

bkonetzny’s picture

Status: Needs work » Needs review
arnoldbird’s picture

Status: Needs review » Needs work

@bkonetzny -- I found the UI for this module in the Manage Display tab. It looks nice. However, I am not able to get the module to do anything on the front end. I tried in the Garland and Bartik themes. I see that your javascript is included in the head of the document, but all I have in the output is a list of images and no carousel functionality. In firebug I am seeing this error:

TypeError: $(...).carouFredSel is not a function
[Break On This Error] 	

$('#' + selector, context).carouFredSel(config);

I have your library installed inside of /sites/all/libraries/caroufredsel/
So I have a file at this path: /sites/all/libraries/caroufredsel/jquery.carouFredSel-6.2.0.js

bkonetzny’s picture

@arnoldbird: Did you install the js library as stated in the readme? Please update to the latest version, I just added feedback for the installed library version to the status page (admin/reports/status). Is the library version detected properly in your case?

arnoldbird’s picture

@bkonetzny: I fetched your latest code and the slider is now working.

Is there another module that provides a carousel formatter like this? It looks like there are some other carousel modules but I'm not sure if there are any that handle turning multiple image uploads in the same field instance into a carousel. It seems like a good approach. Can you comment on whether there are other similar modules available?

I did some testing of the settings and nothing is broken in any way that I can see. I still think you need a little more explanation of how to get started with the module, in your README and project page. You could add steps 4 and 5 to your project page. Something like...

4. Add an image field to any fieldable entity. Be sure to configure the image field to allow more than 1 image.
5. Visit the display settings for the entity. For nodes, this is the Manage Display tab for the content type. Configure the format of your image field to use the carouFredSel formatter, then configure the formatter. When you are done, click Update below the formatter configuration, then click Save.

Or you could make this a separate "Getting Started" section.

bkonetzny’s picture

Thanks for the feedback, I'll update the information in my readme / module page.

After all, I have not found any other released carouFredSel modules. There is another sandbox providing carouFredSel as a display for views, I think when this module will get approved, I'll try to join forces with the other module.

arnoldbird’s picture

Status: Needs work » Reviewed & tested by the community

I see no reason why two different modules shouldn't use the same library. That's what libraries are for. The more important question is whether there are other modules that provide a carousel formatters for image fields. Even if there are, it seems to me the config needs for one particular slider (e.g. carouFredSel) are going to be different enough from another slider that an additional module is justified. So to me this doesn't seem like a duplicate module. I will mark as reviewed & tested.

arnoldbird’s picture

Issue summary: View changes

Added review link

bkonetzny’s picture

Issue tags: +PAreview: review bonus

Adding tag "PAReview: review bonus".

klausi’s picture

Status: Reviewed & tested by the community » Fixed
StatusFileSize
new1.1 KB

Review of the 7.x-1.x branch:

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.

manual review:

  1. caroufredsel_slider_field_formatter_view(): instead drupal_add_js() you could also add the setting with #attached?
  2. caroufredsel_slider_theme(): doc block is wrong.

But that are not blockers, so ...

Thanks for your contribution, bkonetzny!

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.

bkonetzny’s picture

Thanks for the feedback and manual review, I fixed the changes you suggested.

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added review link to Menu Marker