Whenever I try and set up the slide show, the nodes do not display. I followed the directions and added filtering/sorting. This shows up properly, but instead of seeing the node within the slideshow box I see a white bar at the top and blank space underneath. I'm extremely new to drupal/views so I'm hoping I just messed up something small. This is a screenshot of what it looks like. If i add fields the body & images will show up, however, they show up on top of the slide show box which is obviously not where I want it.

screenshot: http://gallery.me.com/aareskog#100020/screenshot

CommentFileSizeAuthor
#12 slideshow-front.jpg10.9 KBmjross
#12 portfolio.jpg2.73 KBmjross

Comments

udig’s picture

Hello aareskog,

My suggestion is to follow the below steps:
1. revert the ajax_slideshow view (at the views list there is a link for that).
2. Go into ajax_slideshow settings page and set it back to its default state (using the button at the bottom)
3. Make sure you did not make any changes to ajax_slideshow code. If you did - revert the module to its original release.

Now try to go into /slideshow-front.
What do you see? (you are supposed to see a slideshow of all the nodes you have in the site.

If you still don't see anything try to do the following:
1. Create a new contnet type OR identify a content type with no content items
2. Create 2 content items of the type you created/identified above. Put plain text at their body.
3. Go into the ajax_slideshow view and change ONLY the filter - add one field for node type which is pointed towards the type you used on 2 (as mentioned here)
You are supposed to see these 2 nodes within the slideshow at /slideshow-front.

aareskog’s picture

thanks for the suggestions, didn't see the message until today. I wound up moving on to slider. But, maybe I'll try this out next time I make a site.

Ali

dr_morel’s picture

I'm having the same issue and have tried the above (and linked) recommendations.

Even with the default settings, the nodes do not display in the display box. Tabs generate fine (well, they get stacked, but that's a CSS issue...).

I'm using the current version of ajax-slideshow with Drupal 6.17. I just installed the node teaser patch, but nodes do not display with or without the patch. Ideally, I want display an image, a few fields, the teaser and node title from a custom content type.

Any suggestions? (I'm hoping to use this module, as content glider is a FAIL for me, as in the innerfade jquery module.)

Thanks!
JJ

udig’s picture

Hi JJ,

Do you have firebug installed?
if so do the following:
1. Uninstall the module and re-install it using fresh download (no patches or any other changes)
2. Go to the slideshow page.
3. Inside firebug find the class="as-panes". Inside that div your nodes are supposed to be loaded using ajax. do you see them loading?
4. Also, If your first node is garbaged with non standard / broken html it might kickout of frame all the other nodes. Check carefully the first node that is loading

dr_morel’s picture

udig

Thanks for the response!

Got through step 1, but the /slideshow-front has always returned a "page not found" for me. :-/

Some thoughts on potential issues I'm having:

+ I'm running on an IIS 6 subdomain (so, no apache).
+ The default view for ajaz-slideshow has "Use Ajax" set to "No" in the "Basic settings" box.

Again, any suggestions/help would be greatly appreciated. I'm in need of a slider/slideshow, and I can't seem to get any of them to work! (And, yes, I've triple-checked my JQuery-plugins is the most recent!)

Cheers
JJ

udig’s picture

ok... we're progressing...

If you installed ajax slideshow and you get "page not found" for this address it means there is something wrong with the installation / overall site path management.

1. See this as an example of how the path to the slideshow should look like. Do you use the pattern /slideshow-front ?
2. If there is no mistake at the address, then do you use nice-urls? the fact it's IIS might have relevancy here.
3. Are you sure the module was activated?
4. Do you see the module folder under /sites/all/modules?

it should be a fundamental flaw...

dr_morel’s picture

yay for progress!

1. yup, looking at the correct path.
2. I don't believe clean URLs are supported in IIS... I think it's Apache only, so no clean URLs for me. Is there another default path for the slideshow-front I can check? I didn't see anything listed in my URL Alias list... (And can't find anything when inspecting the Views settings for ajax-slideshow that would clue me into a path.)
3. Module is activated: it's checked in admin/build/modules; the view is created; the settings show up in admin/settings/ajax-slideshow.
4. I keep a /modules directory rather than a sites/all/modules, but it's there.

Should Use Ajax be set to "No" in the default View? That's how it was out of the box, so I'm assuming that it correct.

This all might be an IIS issue... Still, JQuery doesn't seem to play nice with anything on my site. :-( (And, yes, I've reinstalled that, too!)

Thanks again for the help and suggestions!

udig’s picture

2. if clean urls is not active then probably the path should look something like this: ?q=slideshow-front

Ajax settings on the view has no relevancy ("No" is ok)

Ajax-Slideshow is heavily dependent upon JQuery. If JQuery malfunction on your site I suggest to solve that first and then get back to ajax slideshow.

dr_morel’s picture

That was the correct "dirty" URL ;-)

I did solve my JQuery issue on an innerfade JS by using the jquery_plugin_add($plugin) call in the body of the Story in which I embedded the content. I'm guessing that if I know what $plugins this module uses, I can add those to the index.php and the Ajax-slideshow *should* work. Of course, that's a guess...

I have achieved what I was hoping to with the innerfade using code, but I would like to continue to try and solve this issue, in case others have a similar setup/issue--or if I want to use this module in the future. It seems like a nice module!

So, which JQuery scripts does this use? I couldn't find it in the documentation.

Thanks
JJ

udig’s picture

Hey JJ,

Thanks for your readiness to further contribute.

Aside of the custom js used by the module the JQuery plugin that is utilized is the Tabs Plugin from the JQuery Plugins module.
I hope that with the above hint you will be able to provide a solutions for anyone else bumping into this issue.

Thanks.

mjross’s picture

I'm seeing the same problem as that reported by the OP. At first I suspected that it was the use of image fields (in lieu of using a WYSIWYG editor to put the images in the body), so I tried the simplest case imaginable: A fresh install of Drupal 6.19, Ajax Slideshow module 2.0, and the jQuery plugins module 1.10. I created two story nodes, with sample titles and body content. I verified the default settings in ajax_slideshow_view:

  • type Node
  • Style: HTML List
  • Row style: Fields
  • Fields Node: Tab Title
  • Node: Published Yes

But the URL /?q=slideshow-front shows empty boxes (with properly labeled tabs), similar to the OP's image. None of the body text is displayed. I tested in all the major browsers.

The HTML source shows that

  • misc/jquery.js
  • sites/all/modules/jquery_plugin/jquery.tabs.min.js
  • sites/all/modules/ajax_slideshow/ajax_slideshow.js

are being properly referenced in the head tag.

The "as-panes" div contains divs that should contain the node content. Firebug shows that the display of each one is alternating between "block" and "none", so that's working correctly.

But the divs are empty of content:

<div class="as-panes as-panes-border">
    <div style="display: block;" class="pane absolute_pane"></div>
    <div style="display: none;" class="pane absolute_pane"></div>
</div>
mjross’s picture

StatusFileSize
new2.73 KB
new10.9 KB

To see whether the problem is that the node body is not listed as one of the fields in the view (even though the instructions above imply that it should work without it), I added Node: Body to the list of fields. As a result, ?q=slideshow-front places the body text of each node under its tab, but no content is placed in the large box.

I then created a Page display within ajax_slideshow_view, and within that set the Path setting within the Page settings (in this case, I set the path to "portfolio"). After saving all changes, I viewed the URL ?q=portfolio, and it shows the title and body text for the two nodes, but they are not placed within any tabbed box, and there is no alternating between the two nodes. In fact, there isn't even an "as-panes" div in the HTML source.

What is needed to put the contents of the node within the box? And must the content one wants to display be put within the body of the node, or could it also be a CCK field? Any help would be much appreciated.

udig’s picture

mjross,

The "usual suspect" for malfunctioning slideshow is that you have other JQuery / JS scripts that are clashing with the Tabs library. Inspect carefully the js loaded.
One more thing I saw was that you are not using clean-urls (i.e. you use ?q=). I did not test the module under non clean-urls config so maybe that's the issue.

No need to change the body field etc. CCK fields are supported by the module.
If you see the tabs and the as-panes it means that either the ajax call brings nothing or that its a css issue (probably not).
Try using firebug.

mjross’s picture

@udig Thanks for your reply.

The JavaScript files that load are:

  • misc/jquery.js
  • misc/drupal.js
  • sites/all/modules/jquery_plugin/jquery.tabs.min.js
  • sites/all/modules/ajax_slideshow/ajax_slideshow.js

It turns out that the problem, as you suggested, was that I did not have clean URLs enabled. Now it's working. You may want to add that requirement to the README.txt, which could be a big help to anyone else trying the module in the future.

Thanks for your assistance!

udig’s picture

Title: Nodes will not display » Nodes will not display due to inactive clean urls
Component: User interface » Code
Assigned: aareskog » udig
Status: Active » Needs work

mjross, thanks for your update. Indeed I will add that to the REAME.txt and in parallel will make an effort to support non clean urls.

oz_an’s picture

Title: Nodes will not display due to inactive clean urls » Tabs are linking to just mysite/nid instead of mysite/node/nid
Version: 6.x-2.0 » 6.x-3.0
Status: Needs work » Active
oz_an’s picture

Title: Tabs are linking to just mysite/nid instead of mysite/node/nid » Nodes will not display due to inactive clean urls
Version: 6.x-3.0 » 6.x-2.0