I'm in a j-carousel view and have an image that links to original page/content, then the 'short title' which i would also like to link to the original page. The short title will only display when I have checked "re-write as link" (re-write as text option does not have the text appear in the view) but the link directs to the url consisting of the exact short title, not the node id. I've tried re-writing the link as [field_node_id] [field_nid] and [nid] - none of which work.

ideally the short title would link to the original page, but it would be fine if just the short title would load (no links).

Thanks!

Comments

Stefan Lehmann’s picture

Easy:

  • Add a new field "nid" as the first field (rearrange fields) in your view and set "Exclude from display". (That makes the token [nid] avaiable in the replacement patterns of following fields..)
  • Check "Output this field as a link" and set "node/[nid]" in your short title field.

I like cookies!

sara_npn’s picture

Wow, seems silly I didn't think of that. But thank you very much- worked perfectly!