Closed (works as designed)
Project:
Ajax Slideshow
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2010 at 23:59 UTC
Updated:
22 Aug 2010 at 12:04 UTC
In testing this module using a simple use case (http://drupal.org/node/829532#comment-3331974), the /slideshow-front URL works perfectly, and the body text of each node is shown within the large box below the tabs, as expected. But the view I created (described in that earlier post), does not exhibit any Ajax behavior, and it appears to be because the following JavaScript files are not loaded in the HTML:
What could be causing this? The jQuery plugins module is enabled. Do I need to explicitly specify that those two JavaScript files be loaded?
Comments
Comment #1
udig commentedmjross,
You mean that when you try to go into the views page these files are not being loaded? If so, this is by design. The views is not supposed to be accessed directly by the user but rather be used by the slideshow when it's page is being opened.
You were saying that the slideshow works perfectly at the specified URL so what is it that you are trying to achieve?
Comment #2
mjross commentedI'm not referring to the site visitor accessing the Views admin page, if that's what you mean. Rather, the JavaScript files are not loaded when the visitor to the site goes to the URL that I specify in the Page display of the view. I'm trying to create a slideshow of screenshots (i.e., a portfolio), so I set filters in the view to only display published screenshot nodes, and I set the Page display URL to "portfolio", hoping that /portfolio would display only the screenshot nodes. I can't use /slideshow-front because that URL shows all the published nodes, and not just the screenshot nodes.
Comment #3
udig commentedmjross,
Please read carefully the read me file.
The view is not supposed to be seen by your users as a page. Instead the idea is that the /slideshow-front shows the slideshow to your users.
/slideshow-front is using the view definition to filter / sort the slideshow contents. So if you want to show only your portfolio nodes, set the view filter accordingly and /slideshow-front should now show only the selected nodes (per the view filter).
Comment #4
mjross commentedThanks for the clarification. I'm new to views, and was under the impression that one can always set a Page display for a working view, in order to see its output on a page. In fact, when I first read the README file, I expected to see, in the Page display for the view 'ajax_slideshow_view', a Path set to "slideshow-front". But it wasn't there, so I figured I needed to set a Path.
I removed the Page display created earlier, and am now using /slideshow-front. The only remaining problem was that the 'right' arrow button was being forced down below the box, because div.as-tabs-panes is set to a width of 90%. Reducing that a few percentage points created enough room on the right side of the box for the 'right' arrow button, and it's working nicely. Thanks!
Comment #5
udig commentedglad I could help.