Is it possible to create "Grouping field" option for views of Jcarousel like Grid Style?

CommentFileSizeAuthor
#4 jcarousel-grouping-1413204-4.patch446 bytesolarin

Comments

quicksketch’s picture

No, not currently. To work around the problem, you can create one view that takes an argument and builds a carousel, then use Views View Field to make another view that calls the same view (making a carousel) for each term or category you're working with.

aniebel’s picture

Just wondering if you could give more detail on this as I need the same functionality. I've built one View that only has a View Field and Taxonomy field. The View Field is set to pull another View/Display and is passing an argument (1 to start for testing). The other View that it's trying to load worked with jCarousel before but I have changed that to use HTML List now as it seems it shouldn't load a carousel inside a carousel... correct? I've also set that other View to receive an argument, which works as I test inside that View.

In any case it's not working. Maybe I didn't understand your instructions. Any chance you could share a View export or provide more details? I can see how grouping would be a great feature for this wonderful module.

Cheers!

ptitwolfy’s picture

Version: 6.x-2.6 » 7.x-2.6

@aniebel,

Did you find a work around? On D7, I was trying to hook the jcarousel.views.inc file to put get:
'uses grouping' => TRUE,

but this makes the module a bit buggy, pretty sure this can easily be adapted...

olarin’s picture

Issue summary: View changes
StatusFileSize
new446 bytes

It looks like in the latest dev version, some bugs for multiple carousels on a page have been fixed, and I therefore found that by simply removing the "'uses grouping' => FALSE" line from jcarousel.views.inc (it defaults to TRUE), grouping worked out of the box for me. Patch attached.

olarin’s picture

Version: 7.x-2.6 » 7.x-2.x-dev
Status: Active » Needs review