Views: How to limit words displayed? (Node: Body)

Bazze - July 2, 2009 - 11:16

Hello!

Do you know how I can limit how many words to display from the "Node: Body" field and put a read more link which redirects the user to the full item?

Thanks!

usually you would do this by

rogerpfaff - July 2, 2009 - 11:21

usually you would do this by using the node teaser which should be configured to the number of words you want to show. the select in your view the teaser to be displayed.

Of course!! Thanks! But, how

Bazze - July 2, 2009 - 12:01

Of course!! Thanks! But, how do I get a "read more"-link? :/

EDIT
Nevermind! I'll just add the Node: Link! :D

Teaser settings (configured

rashmi.cms - July 2, 2009 - 12:45

Teaser settings (configured in Post settings) are global for all content created after the value is set. To change the teaser length of existing content, each node must be re-saved for the change to be reflected.

In order to manually set where the point for the teaser and remainder of the body to be split in a post, insert the break <!--break--> tag where the teaser should end. Everything before this tag will appear in the teaser.

Regards
Rashmi

 
 

Drupal is a registered trademark of Dries Buytaert.