Hi,

I have a views page.

Format: Bootstrap grid. Settings: 1 column.
Fields: nid, title, body.
Body field:

Rewrite results”
check “Add a read-more link if output is trimmed”
Under the same section > Enter the text(Read More)
Enter node/[nid] into the “More link path” field.
Click “Apply.”

When I visit my views page, I see everything from the body field. Body field is not trimmed. I do not see Read more link after clearing the cache.

https://drive.google.com/file/d/0B7xIEuVi005yVkt5VG1yeUJMNnc/view?usp=sh...

Please advise.

Comments

sprite’s picture

The view isn't going to display the read mode element unless there are more nodes not shown that are available to read.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

drupol’s picture

Read more link I applied to a field. I said to show Read more link after 6 characters within that field. If that field has a value more than 6 characters, that field should show read more link after 6 characters. I am not sure it it has anything to do with nodes. I also have multiple nodes.

I followed this link to do it.

https://www.templatemonster.com/help/drupal-7-x-how-to-add-a-read-more-l...

sprite’s picture

Now I understand ...

You are trying to create a read more link for the field that is a node body text field for a custom "teaser" presentation of the node's body text.

---

The tutorial is quite thorough ...

Given the nature of Views, (the number of details), it would be nearly impossible for anyone to debug your View for you using conjecture.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

drupol’s picture

I did follow step by step. Do you think the problem is in views tpl file?

sprite’s picture

The problem probably isn't template related ..

Building a View involves setting many, many detailed settings exactly correctly.
It is probably some minor difference in a settings that isn't correct.
The best approach is patient, very patient, trial and error, re-checking, and experimentation with the details of the relevant Views settings.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...