It is quite easy to add Additional Options to a node, but how do you add those same Additional Options to a view?

For example Additional Options
auto: null,
speed: 200,
vertical: false,
circular: true,
visible: 3,
start: 0,
scroll: 1,

Comments

mycrazydog’s picture

Title: Add Additional Options to View » How To Add Additional Options to a View

It is quite easy to add Additional Options to a node, but how do you add those same Additional Options to a view?

For example Additional Options
auto: null,
speed: 200,
vertical: false,
circular: true,
visible: 3,
start: 0,
scroll: 1,

PeakDevGuy’s picture

I also would like to see this functionality.

jfox77’s picture

I would also like additional view options. The biggest one being able to turn on auto scroll.

jasonsl’s picture

StatusFileSize
new6.04 KB

I created this patch to add views style options for mouseWheel, vertical, circular, easing, auto, speed, start and scroll (in addition to visible, which already existed). It patches two files: modules/jcarousellite_views/jcarousellite_views.module and modules/jcarousellite_views/jcarousellite_views_plugin_style.inc. Once patched, one can configure these settings by clicking on the little gear for the jCarousel Lite style under basic settings for one's view.

jasonsl’s picture

Status: Active » Needs review
StatusFileSize
new6 KB

Changed the description for the 'speed' field on the form to reflect that validation only accepts numeric values.
Use this one instead.

hozt’s picture

Excellent enhancement to the module! I was not able to get the easingEffect to work with your patch. Is there any chance you could add a drop down list of possible values to the options?

Hopefully we can get this patch integrated!

jasonsl’s picture

Ah, great idea with the drop down. I have updated to use a drop down list of the easing options that I just copied from the jquery.easing.js file that is included with this module.
Attached here are two patches:
Use "jcarousellite_views_options_upd_from-2.patch" if you have already patched your jcarousellite using the jcarousellite_views_options-2.patch patch from #4.
OR
Use "jcarousellite_views_options_upd_from-orig.patch" if you have not yet patched your version of jcarousellite.

lucascaro’s picture

Hi! Thank you Jasonsl for the great patch. I just wanted to say that this is working flawlessly on four of my sites. If there is no more input, I would change the status of this patch to reviewed & tested by the community. I think this patch is a must-have for this module, and would love to see it integrated in the release.

Thanks again!

Drake’s picture

Yes, I agree, I wish new version 6.x-2.0-beta7 would be released including this patch

lucascaro’s picture

Status: Needs review » Reviewed & tested by the community

Marking it as reviewed since we love it. Please re mark as needs review if you think there's something missing.

mariafromatoz’s picture

Worked like a charm! Thanks so much.
I applied all the patches in one go using second attachment in post 7 here.

Great module.