Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In SingleFrame mode, is there a way to have the Thumbnails link to the full node by clicking on them?
Or is this feature reserved for ThumbnailHover mode?
Comment | File | Size | Author |
---|---|---|---|
#14 | 629126-numbered-1.patch | 1.2 KB | redndahead |
#10 | 629126-singleframe_pager_click-1.patch | 4.11 KB | redndahead |
Comments
Comment #1
aaron CreditAttribution: aaron commentedYou would do that in the fields section of the view, by having your thumbnail link to the node.
Comment #2
Kakulash CreditAttribution: Kakulash commentedThanks! That works but I was already using Nodes as my Row Style, so I'm going to have to try to re-theme it.
No way of having that functionality with Nodes as Row Style? (without actually hardcoding it in the .module file?)
EDIT: The README says that SingleFrame only supports Node view.
Comment #3
Kakulash CreditAttribution: Kakulash commentedMaybe I'm asking for the wrong solution here..
What I want to do can be accomplished using ThumbnailHover, except all my thumbs keep appearing stacked up on one another and I can't find the div id or css class where I can tell them to display inline, whereas with SingleFrame the problem is fixed when I tell it
Here is the page I have that uses SingleFrame with Node View(problem is that clicking on thumbnail won't take me to full node)
Here is the page I have that uses ThumbnailHover with Fields (problem is that thumbs stack vertically)
Any ideas? Thanks for you help again!
Comment #4
aaron CreditAttribution: aaron commentedi think you could set that in the display field settings for the imagefield there.
Comment #5
Kakulash CreditAttribution: Kakulash commentedtried that. no success :(
there's a section in the SingleFrame css marked "Pager Settings"
how come there are no pager settings in the ThumbnailHover css? this would solve everything for me. unless I'm just missing something really obvious.
Comment #6
redndahead CreditAttribution: redndahead commentedI'll say thumbnailhover has received the least focus from my part. So there may be things in singleframe that doesn't exist in thumbnailhover.
As of now there is no way to link a thumbnail in singleframe to a node. I could look into it more, but it will have to be later. Not quite sure what your issue is with thumbnailhover. I went to your site and there seems to be only one slide at the moment so I can't quite see your issue.
Hopefully I can look at it soon.
Comment #7
designguru CreditAttribution: designguru commentedHas anyone managed to find a solution for this?
It looks like thumbnails are linked to '#' by default in the views_slideshow_singleframe>views_slideshow.js file (line 110)
I'm pretty bad at javascript but how can we replace that '#' with a dynamic value or bit of code that loads the actual node associated with each thumbnail?
Hopefully someone chimes in with a solution soon - need to get this working for a few projects :(
q./
Comment #8
designguru CreditAttribution: designguru commentedBUMP
I'm surprised no one's posted back with a solution for this; all I need is the specific javascript tag to pull in the parent node's URL of each thumbnail to call in the Single-frame views_slideshow.js :(
q./
Comment #9
redndahead CreditAttribution: redndahead commentedPostponing this to a later release.
Comment #10
redndahead CreditAttribution: redndahead commentedPlease test this patch.
Comment #11
redndahead CreditAttribution: redndahead commentedThis has been committed.
Comment #13
dystopianblue CreditAttribution: dystopianblue commentedThe latest update (6.x-2.1) works for pager thumbnails but doesn't for numbered pages. Here's the change I made in views_slideshow.js (line 226)
Comment #14
redndahead CreditAttribution: redndahead commentedThis patch was committed thank you rayge2k