Hello,

I am using views for listing nodes. The list just shows a summary of 500 words, I need to offer the reader a link with "read more"

Within views,I am use the field node , to which I appy "Trim this field to a maximum length" for 500 words. I have the option "Add an ellipsis" (If checked, a "..." will be added if a field was trimmed). However, "..." is not good enough for more. I want to have a "read more" link that will redirect to the location.

Can someone assist?

Thanks, Yoel

Comments

merlinofchaos’s picture

Status: Active » Fixed

Add the Node: Link field.

yoeld’s picture

Hi,

Yes, I tried that, but then ALL nodes will have the read more link. That is a problem since there might be some node shorter than 500 words.

How do you solve this?

Thanks, Yoel

merlinofchaos’s picture

About theonly thing you could do would be to theme the teaser field, test to see if it's been cut, and add the link manually. There's been another issue asking for more flexibility with the ellipsis, but it's already pretty complicated.

yoeld’s picture

Thanks for the feed-back. I was hoping for a more simple and elegant solution.

Status: Fixed » Closed (fixed)

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