Drupal 7 - More link in view not showing
The 'more link' is not shown in a block, while my settings are as shown here:
I do have more than 2 items. Do you have an idea what's goi开发者_Go百科ng on? Thanks in advance.
It's a block. So the read more button doesn't know where it should be linked to. To fixed this you have to enter url of the target page into Advance -> link display at the right side.
Do you have a page display for your View? If not, then the more link won't have anywhere to go and therefore is not displayed. Try creating a Page display for your view.
You need to add the Content: Path field above your Content:body field, and exclude the Content: Path field from display.
Then, in your Content: body field, select Rewrite Results, and then Trim this field to a maximum length.
Next, set the More Link Text to "Read More"
Finally, under the More Link Path, add in [path] which is found under the Regular Expressions section.
Click save, and for any body content longer than the maximum length, there will be a read more link inline which links to your article.
精彩评论