Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-04-28 15:51:08
- the_new_guy
- Member
- Registered: 2005-01-13
- Posts: 18
Excerpt not working in version 4?
Hope this is the right forum…..for this question.
I upgraded to Version 4 months and months ago, and my old form for “Excerpts” no longer works.
I created a form called “Read More” to use with Excerpts :
[code]
txp:title /
<p>txp:posted / ¦ txp:permlink Full Link /txp:permlink ¦ <p> txp:comments_invite /</p>
<p>txp:if_article_list
<txp:excerpt /></p>
<p>txp:permlink Read more …/txp:permlink</p>
/txp:if_article_list
txp:if_individual_article
<txp:body /
/txp:if_individual_article
[/code]
It won’t work with txp version 4.
How can I go about getting my Excerpts working again?
Thanks.
Last edited by the_new_guy (2006-04-28 15:53:10)
Offline
Re: Excerpt not working in version 4?
You need to post this in the correct forum section. This one’s for plugins. And to post code on the forum you need to wrap your lines in
regular code < > < />tags. I can’t really tell what you had with the way it’s displaying.
Last edited by soulship (2006-04-28 16:14:51)
Offline
#3 2006-04-29 01:00:13
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Excerpt not working in version 4?
I don’t see your excerpt tag anywhere.
Offline
#4 2006-04-29 07:49:42
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Excerpt not working in version 4?
Mary wrote:
I don’t see your excerpt tag anywhere.
This is the code posted above:
<code>
<txp:title />
<p><txp:posted /> ¦ <txp:permlink> Full Link </txp:permlink> ¦ <p> <txp:comments_invite /></p>
<p><txp:if_article_list>
<txp:excerpt /></p>
<p><txp:permlink> Read more …</txp:permlink></p>
</txp:if_article_list>
<txp:if_individual_article>
<txp:body />
</txp:if_individual_article>
</code>
You should move the <p>
tag before <txp:if_article_list>
, because in individual article mode it will leave you with an unclosed tag. But I doubt if that’s the problem.
I also think this should be moved to ‘How do I…’
Offline
Pages: 1