Make a complete list of rotor-item content in views

josgle - April 29, 2009 - 20:53
Project:Rotor Banner
Version:6.x-2.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:mrfelton
Status:closed
Description

I want to make a complete list of rotor-item content (a list of sponsors in our case). It is possible to include the external link in such a list. It is easy to make a list, but I'm not able to find the "link-URL" in the list of fields in views.

#1

mrfelton - April 29, 2009 - 21:52

Currently - no. The only field made available to Views is the Image... I'll try and add this feature in the next week.

#2

josgle - April 29, 2009 - 22:04

Will you make it possible to assign the "url-link" to the node-title field?

#3

mrfelton - May 3, 2009 - 10:19
Version:6.x-2.1» 6.x-2.x-dev
Category:task» feature request
Assigned to:Anonymous» mrfelton
Status:active» fixed

This is fixed in CVS.
You should find the link field in Views Fields section under 'Content: Rotor Item link'. You can assign this to the title field, by:

1) add the 'Content: Rotor Item link' field to your view
2) add the 'Node: Title' field to your view
3) On the Node: Title field, select the 'Output this field as a link' checkbox
4) in the Link Path textfield that appears, enter '[url]'

You can do the same for any other field too, including the 'Content: Rotor Image field', if you want to make the Rotor Image link through to the appropriate link too.

#4

System Message - May 17, 2009 - 10:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#5

BenGman - July 14, 2009 - 11:14
Status:closed» active

"Content: Rotor Item image" shows the image correctly when not "Excluded from display".

I want to add the field "Content: Rotor Item image" as an image, first excluded, and next part of a rewrite of another field, but the rewrite field for "Content: Rotor Item image" is "[nid]" and so far I am unable to show this "[nid]" as an image.

How can I accomplish this?

AttachmentSize
RotorImage.jpg 44.86 KB

#6

mrfelton - November 5, 2009 - 11:54
Status:active» fixed

I have fixed this in CVS, where the rotor image field is now available through the [rotor_item_image] token rather than [nid] and the url is in [rotor_item_url] rather than [url]

To achieve what you want, you could either do exactly what you are doing, but set the value to <a href='[url]>[rotor_item]</a>.

Or, even simpler, you could check the 'Output this field as a link' checkbox and simply set the path to [rotor_item_url]

ps. There is no need to include the field twice to access the token.

#7

System Message - November 19, 2009 - 12:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.