I have another field that I would like to link to the page instead of the title field. I see that you can only say "link: yes" if you are working with the Title field. How do I make another field that can link to the node content? Thank you.
Kelly
I have another field that I would like to link to the page instead of the title field. I see that you can only say "link: yes" if you are working with the Title field. How do I make another field that can link to the node content? Thank you.
Kelly
Comments
Comment #2
praveenneelu commentedHi kzeeh,
Use Display Suite Code Field to get the Current node title as link (by using [node:title] related token) in it. Please view this below link, you got an overview about DS fields,
https://www.drupal.org/node/1795314
Comment #3
kzeeh commentedI read all that. I have ANOTHER field, not title, in my content type. I want to use THAT field as a LINK to view the page. How do I make a field other than title to be a link to the node?
Can you tell me exactly what I'd put as the code for a code field? Thank you.
Comment #4
praveenneelu commentedHi @kzeeh. This is pseudo code. I wrote the logic only. In DS Code field, use function call instead of directly use if-else condition for better performance.
Comment #5
praveenneelu commentedComment #6
praveenneelu commented