Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Excerpts Won't Display...Instead Full Article
Hi, I must be really dense, because I feel I have tried all possible options here:
I was following Stuart’s advise in this forum on how to set up articles displaying as excerpt, but instaed of the excerpt the full article is showing. ???
I have the following code in my default article form:
<code>
<div id=“column-one”>
<h2><txp:permlink><txp:title /></txp:permlink></h2>
<div id=“column-padding”>
<txp:if_article_list>
<txp:if_excerpt>
<txp:excerpt />
<txp:permlink>But there’s more</txp:permlink>
<txp:else />
<txp:body />
</txp:if_excerpt>
<txp:else />
<txp:body />
</txp:if_article_list>
<txp:comments_invite />
</code>
and:
<code>
<txp:article />
</code>
in my default page template
I feel as if I am missing somethig crucial here but can’t see it…
Thanks
Offline
Re: Excerpts Won't Display...Instead Full Article
You have to create the excerpt you want to appear in the smaller textarea immediately below the main article editing textarea. If there isn’t an excerpt in there it will show the full body.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2005-12-09 16:19:55
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Excerpts Won't Display...Instead Full Article
Yes. If you want the excerpt auto-created for you, you’ll need a plugin (see resources site, link above).
Offline
Re: Excerpts Won't Display...Instead Full Article
> thebombsite wrote:
> You have to create the excerpt you want to appear in the smaller textarea immediately below the main article editing textarea. If there isn’t an excerpt in there it will show the full body.
Stuart, I don’t exactly understand what you mean? What would I need to add where?
Thank you…I feel as if I am hanging in the void
Dada
Last edited by dada78 (2005-12-09 19:11:14)
Offline
#5 2005-12-10 00:08:16
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Excerpts Won't Display...Instead Full Article
Go to content > write. See bottom text box in the center column, that says “Excerpt:”? That’s the excerpt.
Alex
Offline
Re: Excerpts Won't Display...Instead Full Article
So copy/paste whatever part of the article you want to appear as the excerpt into that excerpt box.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline