Truncate long post

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Wolfdog
Regular
Posts: 10
Joined: Mon Nov 17, 2008 9:49 am
Location: USA
Contact:

Truncate long post

Post by Wolfdog »

Is there anyway I can truncate long blog post, as so the whole article is not on the front page? Like only show a small portion of the huge article on the main page then going to the article shows the rest of it.
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

That is exactly what the extended body is designed to do.

Place your first paragraph or 2 in "entry body" and the rest of the text in "extended body". If your template is using the default entries.tpl file, or has its own that has been designed to separate these two pieces of text, overview page views will show only the entry body with a link that typically reads "Continue reading ENTRY TITLE..."
=Don=
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Truncate long post

Post by yellowled »

Wolfdog wrote:Is there anyway I can truncate long blog post, as so the whole article is not on the front page? Like only show a small portion of the huge article on the main page then going to the article shows the rest of it.
Yes. Go to the page where you create/edit posts. First, there's the field for the entry. Below that is a line that says "extended entry" with a plus sign in front of it. Click on that plus sign. Now there's another field which you can use for the extended entry. Whatever you enter here will only show up in single entry view, except if your template doesn't consider extended entries. Most of them do, however.

YL
Wolfdog
Regular
Posts: 10
Joined: Mon Nov 17, 2008 9:49 am
Location: USA
Contact:

Post by Wolfdog »

Heh, I didn't realize that was there. Thank you.
Post Reply