I installed the newest jcarousel module and jcarousel views module, but I cannot get them to work. I am getting thumbnails from the views output but when I switch the style type all that is displayed differently is the photos change from being in a vertical list to a vertical list with a disc next to them. It doesn't appear that they are being fed any changes besides becoming a list with the disc next to the photos.
I've included a screen capture of the views with the output. Is there something I'm doing wrong?
I'm also including the details of the jcarousel view settings, although I just left them as the defaults.
If you need more details let me know. Maybe there is something clashing?
I'm going to try 1.x-dev to see if I get it work that way.
| Comment | File | Size | Author |
|---|---|---|---|
| carouselsettings.jpg | 114.9 KB | timnorman | |
| viewscarousel.jpg | 97.62 KB | timnorman |
Comments
Comment #1
timnorman commented1.x-dev did the same thing. When I re-watched Bob's demo video I realized he never shows the jcarousel block output in action when he's creating the block view. He only shows it actually working on the page. So I added the block to my page and bam it is working. I get a nice little jcarousel.
So I'm just guessing but either the jcarousel script doesn't get added when looking at the views page because views doesn't allow the jquery to be added. I only guess this because of the both 1.x and 2.x versions gave me the same output in the views creation, but both worked outside of views.
Comment #2
robloachYeah, it doesn't dynamically load in the JavaScript when previewing. With 6.x-2.x-dev, it possibly could since it uses the Drupal JavaScript behaviors. What would have to happen is that Views would have to do the preview, and then load the additional Drupal.settings and then reprocess the behaviors. Anyone work with AJAX stuff loading additional stuff from Drupal.settings through Views before?
Comment #3
timnorman commentedWould have been nice to know about this little hitch before hand. I kept thinking I was doing something wrong and spent a couple hours with it. Oh well. Live in and learn.
Comment #4
mfer commentedWhen I first did this I tried to find a clean way to do this and I couldn't. Some changes have happened in D7 core that may allow for something like this to work now. But, I have yet to test it.