Download & Extend

Assigning Image to different URL not working right.

Project:Views Rotator
Version:6.x-1.0-alpha2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I have set up a view to pull in images for rotation.
I also have that Banner Content type offer a link which I have pull into the view but mark hidden.

I assign the Image within the view to this URL by changing "Output this field as a link" to "Link path:" with a value of "[field_banner_link_url]" which is the right name for the link.

In the Content... I assign a link like "node/5"

The preview below "looks fine" displaying the proper path... BUT the block version displays an extra folder.

Instead of this: /drupal/node/5
I get this: /drupal//drupal/node/5 or rather that actual link is: http://test.com/drupal/node/5

I thought it might have to due with drupal being in a folder under the domain... I will test under a subdomain instead of a folder.

Any thoughts?

Comments

#1

FYI - A full qualified domain name path starting with http:// works fine.. so it is something on the Drupal side re-writing the relative path.

#2

I think I just figured this out...

If the View has the Field for link to format: "URL, as plain text" - this is what causes the issue! I am unsure why.. but changing that to anything else seems to have resolved it.

Don't you just love solving your own problems? Please verify if you can.. I would love to know if this is confirmed.

#3

I can't confirm, but I had the same behaviour. Thanks for the solution!

nobody click here