Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: How to display only first few lines of one article
Hi,
You should have something like this in your default form:
<code>
<txp:if_article_list>
<txp:if_excerpt>
<txp:excerpt />
<p align=“right”><txp:permlink>Read more…</txp:permlink></p>
<txp:else />
<txp:body />
</txp:if_excerpt>
<txp:else />
<txp:excerpt />
<txp:body />
</txp:if_article_list>
</code>
Offline
Re: How to display only first few lines of one article
Hi; i think you will find this info very useful FAQ
Offline
Re: How to display only first few lines of one article
That bit of code is very popular isn’t it. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: How to display only first few lines of one article
You’re probably the one who told me to how to do this a half year ago :)
Offline
Re: How to display only first few lines of one article
At one stage I was using it so often in the forum that it was suggested I put it in my “signature”. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#6 2006-01-27 19:42:29
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: How to display only first few lines of one article
Now who on earth would suggest such a thing???
Offline
Re: How to display only first few lines of one article
I wonder. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline