I originally asked this in the views support but noticed the link.views.inc file might be the place to do it.
I have a content-type with a link field.
I am able to create a page view that shows the url - title - term - edit
I'd like to just show the Title hyperlinked with the url from the link field.
It seems I can only link to the node
thanks for any help
basically the view to show the link title and it be hyperlinked to the url for that link not the node.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | cck.jpg | 188.08 KB | CobraMP |
| #5 | views2-link.jpg | 125.45 KB | CobraMP |
| #4 | link-view.png | 99.97 KB | quicksketch |
Comments
Comment #1
quicksketchThat's the default format for links generated by link module. Just add the links field to the view, then use the default formatter.
Comment #2
Amix commentedHi, I'm currently trying to do the same thing. is it possible to be more specific regarding what you said "default formatter" ?
thanks
Comment #3
CobraMP commentedI'm not exactly sure what "default formatter" means either but I can get the url to show up in the view but it isn't a link so members would have to copy & paste it.
What I really want is the Link title to show up and have it link to the url.
Comment #4
quicksketchHmm, I don't know why this would be a problem at all. Add a link field to a view, hit save on the field. It should be defaulting to linking to the URL, using the title. See screenshot configuration of a link field.
Comment #5
CobraMP commentedLooks totally different. Here is mine.
Drupal 6.2
Views2 6.x-2.0-beta4
Links 6.x-2.2
Comment #6
quicksketchWhat's your version of CCK? Link doesn't actually provide a field definition, it's handled by CCK. Also, if you upgraded recently you need to clear your Views cache in order for it to see new field options.
Comment #7
CobraMP commentedcck 6.x-2.0-beta
cleared the cache, no help
screenshot of the modules I have active for cck
I noticed a module called cck formatters but not ready for 6x yet.
Comment #8
quicksketchOh dang, this is a duplicate of #268109: Link field doesn't contain any formatters in Views. It's only a 2 line change but totally borks link's Views support. I meant to make a new release but seemed to forget to make it. You can either use the solution posted there or wait for 2.3 version to come out later today.
Comment #9
CobraMP commentedsweet! Thank You! So glad to hear a simple solution.