I have a views slide show (jcarousellite). Right now I set the format (image linked to a node), which is taking me to the node. But i want to link it to external url, which i am storing in another field of the same content type.

probably this will work "Output this field as a link"; but not sure how do i use it to use value of different cck field. Any suggestions?

Thanks,

Comments

peregrine’s picture

I would like to do this also. Have you been able to do it?

Carl242’s picture

Use the CCK REDIRECTION module. After installing it you can add a new cck field to the content type called "redirect". Whatever URL you point to it, the user will be immediately redirected to it as soon as they attempt to go to the URL of the node. So then you set the view to link to the node, but when someone clicks on it they will go to your desired URL instead. It worked great in my implementation of Views Shocase (similar to jcarousellite).

WorldFallz’s picture

Should be no need to add another module. If you have the url to which you want to redirect the image in the slideshow stored in a field, you just need to use the "rewrite the ouput of this field" option on the image field, make sure to add the field with correct url before the image field (set the 'exclude from display' option so it doesn't actually show in the view), then use the resulting token created in the rewrite settings.

Hardrocker’s picture

This would work if your are pointing to a single url. However if each image needs to point to individual external url its mush difficult to accomplish this. The cck redirect module seems the be the alternative way to go