Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-beta3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 May 2011 at 12:24 UTC
Updated:
29 Jul 2014 at 23:55 UTC
Jump to comment: Most recent
Comments
Comment #1
dawehnerCan you give us an export of your view?
In general this might be better a question for the link module.
Comment #2
madeby commentedIt is the "Popular - today (block)" view.
Comment #3
dawehnerIn general you should select the path formatter of the link module.
if this path formatter calls the url function you could file an issue against the link module to add a setting to not run the url() method for this formatter.
Comment #4
madeby commentedCan you guide me a little more in what I should do?
I should install this:
http://drupal.org/project/link
And then...?
Thanks for any help.
Comment #5
dawehnerSomeone else seems to have created a similar issue already see #1154774: Display format: "Title, as link"
Comment #6
vimalramaka commentedDude, had the exact same problem, but adding Content:Nid and checking on "use absolute path" fixed it
Just use Content:Nid instead of Content:Link
Comment #7
Cablestein commentedUse absolute path gives you the entire URL.
That isn't nice.
What if you just want the raw path, not the raw URL. There's a difference.
Was easy in Views 2, you had a formatter drop down with a nice list of options.
In Views 3, I can't seem to get it.
Comment #8
bcobin commentedSee issue here: http://drupal.org/node/1477554
Link to node seems definitely to be broken, although whether it's a Views, Link or Token issue is unclear to me. (I've also had a problem where Date tokens seem to be broken using Custom Formatters, which is why I bring Token into the mix.)
Using Content:Nid is an ugly workaround and insofar as I'm using Domain Access, using absolute path isn't an option. This strikes me as a major issue.
Hope this helps...
Comment #9
stevep commented@madeby
What worked for me, (using your field names) was:
[view_node] == Content: Link --> (add field/replace with) [path] == Content: Path
[field_media] == Content: Media
[field_media-fid] == Raw fid
[field_media-title] == Raw title
[field_media-data] == Raw data
Then check "Rewrite the output of this field"
and in the text field put <a href="[path]">[field_media] </a>
And uncheck, leave blank, "Output this field as a link"