Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-01-23 18:52:18
- toreun
- New Member
- Registered: 2006-01-23
- Posts: 2
Excerpts not Displaying
Hi everyone,
I’m rather new to TextPattern and am somewhat lost in the documentation, etc. Sorry if this has been posted before, but I’m trying to style my page and the excerpts aren’t displaying, only full posts. I try using <txp:excerpt />
instead of <txp:body />
, but nothing appears.
Is there a setting I’m missing? I defined an excerpt when I wrote the article.
Thanks
[ed: please read the FAQ before posting]
Last edited by zem (2006-01-23 23:15:30)
Offline
Re: Excerpts not Displaying
My favourite bit of code. This is for your default/article form template.
<code><div class=“post”>
<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>
<p class=“commentlink”><txp:comments_invite /></p>
</div></code>
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2006-01-23 23:32:52
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Excerpts not Displaying
I try using <txp:excerpt /> instead of <txp:body />, but nothing appears.
Is there a setting I’m missing?
You’re not missing a setting. Most likely you’re editing the wrong form. Some help here. Get that working first before you try anything more complicated.
There’s a general excerpt howto here.
Alex
Offline
Pages: 1