Views Slideshow not working...

thepocketgeek's picture

I created a view that works fine. It displays the image attached to the node, the title and the teaser. Sweet. But when I try to get that same view to display in a slideshow, nothing happens.
It still shows up in a list.
Now I am getting the feeling that I am probably missing a jQuery file in the appropriate place. Has anyone had a similar problem when trying to get Views Slideshow or Views Showcase working?

Comments

Shot in the Dark

chrisparsons's picture

The only thought I have without seeing it is to make sure the $scripts are being printed in your theme template.

Assuming they are, what javascript files are you seeing included?

Is that in the theme.tpl.php

thepocketgeek's picture

Is that in the theme.tpl.php or in the page.tpl.php?

EDIT:

Okay, I saw it in the page.tpl.php inside the tag.

Here are the files called by the tag

<script type="text/javascript" src="/misc/jquery.js?p"></script>
<script type="text/javascript" src="/misc/drupal.js?p"></script>
<script type="text/javascript" defer="defer" src="/sites/all/modules/admin_menu/admin_menu.js?p"></script>
<script type="text/javascript" src="/sites/all/modules/panels/js/panels.js?p"></script>
<script type="text/javascript" src="/sites/all/modules/views_slideshow/js/jquery.cycle.all.min.js?p"></script>
<script type="text/javascript" src="/sites/all/modules/views_slideshow/contrib/views_slideshow_singleframe/views_slideshow.js?p"></script>
<script type="text/javascript" src="/sites/all/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/views_slideshow.js?p"></script>

No dice

chrisparsons's picture

That looks like what should be included... my only other thoughts are possibly a caching issue, but I really doubt that's the solution. Couldn't hurt to try it though.

I'll keep thinking about it in case I can come up with something else it might be.

Okay!

thepocketgeek's picture

Thanks. I cleared all of the caches but all I get when I preview the view is a list. I did a view export. Maybe looking at it will help.

EDIT:
Wow... I need to lay off the dummy pills. I loaded the view into a block and created a page to test it on. Worked. Total Duh moment. Thanks for helping...

No worries - we all do that

chrisparsons's picture

No worries - we all do that from time to time. Glad it's working!

Just in case some one else does this

ron_sparks's picture

Okay I was looking through the forums and saw this and well I didn't make the same mistake as thepocketgeek I made an oh duh move and this made me check my settings.

i had the photos grouped ... so check your settings! in the field where i was putting images from cck, so simple :)

Another reason why it wouldn't work...

chichilatte's picture

It wasn't working for me, and i figured out eventually that the Views Slideshow module wasn't happy having Chaos Tools module installed. That's Drupal 6.22, Views Slideshow 2.3, CTools 1.8.

Kee-riyst!

Drupal 6

dzinergal's picture

Hi I'm new to Drupal and have an existing site www.ecarclub.co.za that has a big image on the homepage thats suppose to be a slideshow. I've used the Advertisment module to load the image and have used the taxonomy slideshow to show it. The problem is that even though i've added two images its not showing up. You'll see on the page it says 1 of 1, when there's two images in the backend assigned to this.

I've checked my settings and both images are published and active.

I'm really at a loss to try and find the issue, any help is much appreciated

Thanks

Your View

Albert Volkman's picture

Does your view's preview show both images, or just one?

My view

dzinergal's picture

Hi Albert, thank you for your reply.

Just one :(

Ensure that you don't have a

Albert Volkman's picture

Ensure that you don't have a filter that's blocking the other image.

Tested the filters and doesnt

dzinergal's picture

Tested the filters and doesnt look like it...

Correction - i deleted the filter that checks the scheduling to see if its expired = true or false and it's now working.
The images are now showing but the entire page shifts down and up while loading the image, why is this?

Thanks for all the help ;)

Glad you got your source

Albert Volkman's picture

Glad you got your source sorted. For the shifting, a lot of people will have it hidden from display until the page fully loads, then update with some js.

Ah, I see what you're talking

Albert Volkman's picture

Ah, I see what you're talking about specifically. In your CSS, try adding the following statement-

block-views-advertisement_slideshow-block_1 { height: 500px }

I've added it to my

dzinergal's picture

I added it to my views-styles.css and it seems to have stopped the shifting but now it goes behind all my other blocks...? :)

Thank you :)

Sorry, I should have been

Albert Volkman's picture

Sorry, I should have been more specific. That is an ID, not a class. So replace your '.' with a '#'.

Thanks its working now :) How

dzinergal's picture

Thanks its working now :) How do i hide it till its fully loaded? Its loading it underneath all my other blocks at the moment. Making it look kinda weird

Alright, got it.

Albert Volkman's picture

Alright, got it. Set-

block-views-advertisement_slideshow-block_1{height:504px}

Then, in ecar_black.css (line 553), change-

position: static !important

to

position: absolute !important

Thank you!!! I've been trying

dzinergal's picture

Thank you!!! I've been trying for so long! THANK YOU!

You're very welcome. Happy

Albert Volkman's picture

You're very welcome. Happy Drupaling :)

hi

dinathecool's picture

guys when i am working with views slideshow in my localsite it showed me the following errors

warning: Parameter 3 to views_ui_build_form_state() expected to be a reference, value given in C:\Program Files\EasyPHP-5.3.8.1\www\kkss\sites\all\modules\views\includes\admin.inc on line 1606.
warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in C:\Program Files\EasyPHP-5.3.8.1\www\kkss\includes\form.inc on line 377.
warning: Invalid argument supplied for foreach() in C:\Program Files\EasyPHP-5.3.8.1\www\kkss\sites\all\modules\views\includes\admin.inc on line 1542.
warning: Attempt to assign property of non-object in C:\Program Files\EasyPHP-5.3.8.1\www\kkss\sites\all\modules\views\includes\admin.inc on line 1613.

i dont understand ...pls solve my problem

What version of Views are you

Albert Volkman's picture

What version of Views are you using? Also, more importantly, what version of PHP are you using?

Please move to Forums

Albert Volkman's picture

Further, could you please post this question in the Forums (http://drupal.org/forum/22) as this question isn't Florida-specific? Also, it will gain greater visibility and hopefully get you a solution even quicker. If you feel that this is a bug with Views, you can also post an issue in the Views issue queue-

http://drupal.org/project/issues/views

Might be a bug

stevenator's picture

Hi there, I was working in a class with views last week and this came up several times. The error is non-fatal and is views way of reporting that the Views Slideshow module needs more info and won't automatically go to the setup detail region that you would expect after selecting it. The view will work though as long as you finish the setup. If you go back up to the Basic Settings in the left column and click the little gear next to the slideshow style, you will get all of the settings you are looking for and that weren't saved to the view during creation.

Just to test, you should just take all the default settings and click update. Either look at the live preview to see that you are getting results (may not rotate as slideshow because you need javascript to load on the page) or save the view and go to the page it is on.

If that works for you, you should be so kind as to look it up in the Views Slideshow issue cue and report it as a bug...

got the solution

dinathecool's picture

sorry guys

i got the solution for that views slideshow problem ...at first i used views slideshow 6.x.3 and views 6.x.2 and my brother who is working in this field for last 2 years told me that i need to uninstall views slideshow version 6.x.3 and install version 6.x.2 ....i followed that steps.And now i got what i want sorry for inconvenience

No inconvenience at all. Glad

Albert Volkman's picture

No inconvenience at all. Glad you got it figured out!

Views Slideshow not working

chellamtce's picture

Hi,

I have created the view slideshow.but its not showing in front page. am using corporateclean theme.
created a block,view everything but??
i dont know wat to do. Please help me with this.

i have followd the steps from http://www.brightwebsitedesign.com/how-to-install-views-slideshow-module...

did you review all of the comments

joemoraca's picture

there are a lot of comments on that post with a lot of debugging tips - did you review them?

does the slideshow work inside views (preview below the configuration screen)?

Joe Moraca
WebDevGeeks.com

Yes its working inside the view.

chellamtce's picture

The slideshow is working inside the view perfectly.i did added the code in mytheme.info file regions[featured_slider] = Featured Slider .
aslo i have added below the code

<?php
if ($page['featured_slider']):
?>

<?php
print render($page['featured_slider']);
?>

<?php
endif;
?>

in my page.tpl

but its not working.

now its working

chellamtce's picture

thanks for the reply..i found the solution.

not able to activate module

dhvani2511's picture

Hi ,

I added the unzip folder of views slideshow in my site/modules. But i am not able to activate the plugin in administrator.
Below is the error.
Views Slideshow 6.x-3.0 Provides a View style that displays rows as a jQuery slideshow. This is an API and requires Views Slideshow Cycle or another module that supports the API.
Depends on: Views (enabled), Ctools (missing), Libraries (missing)
Required by: Views Slideshow: Cycle (disabled)
Views Slideshow: Cycle 6.x-3.0 Adds a Rotating slideshow mode to Views Slideshow.
Depends on: Views Slideshow (disabled), Libraries (missing), Views (enabled), Ctools (missing)

Version of drupal : 6.22

Am i missing anything?

Thanks
Dhvani

Problem with slideshow

Antony Jekov's picture

Hello guys,

I have a wierd problem. I am using nodequeue + views slideshow to show 4 audio tracks on my front page. The audio tracks are served by sondmanager2.
Problem is I have 4 tracks, but I get 8 slides, and every other slide is blank. The slide counter sais 1/4 and ends at 8/4?

I am using 4 as a limit for the nodequeue and for the views block and 1 for the slideshow.

Any ideas?

Problem screenshot

Post a screenshot of your

greta_drupal's picture

Post a screenshot of your View (settings).

Here they are

Antony Jekov's picture

Here they are -

Image Hosted by ImageShack.us
Image Hosted by ImageShack.us

Well, you got everything in

greta_drupal's picture

Well, you got everything in there (screenshots) but what I really wanted to see: your contextual filters* and relationships. :-)
[*I see that you have no contextual filters.]

But, it seems that nodequeue # of items is being added to the views # of items for the pager. So, there lies the problem. I don't use Nodequeue, so don't know what config options are available in the views relationship. But, if there is an option there to show pager, disable that.

Try these things to troubleshoot, and report back:

  1. For pager, set that # to the actual number of total slides. Or, set its offset to 4...or really any lower number to see how it affects the pager.

OR

  1. On the slide settings, set the OFFSET to some number lower than actual number of slides.

View Slide show

shaludd's picture

Hi
i m having a problem i have downloaded viw slide show and it works fine for every pages
except home page.Can anyone help me on this matter .
here my page.front.tpl.php file

<?php
print $head
?>

<?php
print $head_title
?>

<?php
print $styles
?>

<?php
print $scripts
?>

<?php
//print phptemplate_get_homeswf($node);
?>

<?php
$logo
= theme('image', drupal_get_path('theme', 'spice').'/logo.png', t('Spice'), t('Spice'), NULL);
print
l($logo, '', array('html' => $logo));
?>

<?php
print phptemplate_get_dynamice_menu();
?>

 

<?php
if ($footer_home):
?>

<?php
print $footer_home
?>

<?php
endif;
?>

<?php
print phptemplate_getFooterFlag();
?>

<?php
print $footer_message;
?>

<?php
if ($footer):
?>

<?php
print $footer
?>

<?php
endif;
?>

<?php
if ($footer_bottom):
?>

<?php
print $footer_bottom;
?>

<?php
endif;
?>

<?php
$block
= module_invoke('views', 'block', 'view', 'slide_show-block_2');
print
$block['content'];
?>

<?php
print $closure;
?>

Florida

Group organizers

Group categories

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week