Postponed (maintainer needs more info)
Project:
Views Slideshow: Dynamic Display Block
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2010 at 10:57 UTC
Updated:
25 Jan 2011 at 17:36 UTC
Comments
Comment #1
ppblaauw commentedWhen you add your URL field before the image field in the view_fields (change order) you can use the URL_field to rewrite the image field and let it link to the value in the URL_field.
Check: "Rewrite the output of this field" for the image field
You can now use the "Replacement patterns" for the URL field to rewrite the field.
Hope my explanation was clear enough and it helps you further, please let me know.
Comment #2
Yuri commentedI changed the field order as mentioned, used the rewrite box in the view field Content:image and tried to link a new URL field (field_url_url) to the image:
This does not work, even when I use quotations marks around the fields in the code.
Anyone has actually got this working?
The idea (for me) is that clicking the pager will forward to an external URL. But hovering the pager wil only change the slides.
Comment #3
Yuri commentedSorry..here is the (not working) rewrite code I tried:
Comment #4
patrickroma commentedYou have to put two Instances of the Same Link Cck Field in the View. One for Read more As title/link Default and One with URL. This worked for me.
Comment #5
derrynairn commentedI have entered the link field twice, as suggested above. Then I rewrote the title field with the 'Output this field as a link' option, entering the replacement pattern for the second instance of the link field. I saved, cleared caches, but the resultant published slideshow doesn't feature the link.
What confuses me is this: in the preview shown below the saved view, the linked title DOES work. In the published version, it doesn't. Furthermore, I rewrote the 'Read more' link successfully in the published version.
So that must be a CSS issue, I presume... Something is stopping the outputted link from working when the title is published and I don't know what or where to look. Any tips much appreciated.
EDIT: this was a Permissions issue. I haven't narrowed down why, but only the super user could NOT access the link on the homepage. When I logged out and viewed the page as an anonymous user, or any other access level, I could see and click on the links.