Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-13 05:01:12

lemonhead
Member
Registered: 2006-08-04
Posts: 32

How do I disiplay a partial excerpt from the body

Most of my users will not be disciplined enough to use an excerpt so I wish to extract part of the body from the article and display on the front page. It would then say Read on…..

I found a plugin called Beginning, but I do not know where to paste the tag into ?

<txp:beginning length=“250” format=“inside” linktext=“Read More” styleclass=“morelink” cfield=“continue” />

LH
Chicago,IL

Offline

#2 2007-01-13 06:56:54

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: How do I disiplay a partial excerpt from the body

…I do not know where to paste the tag into?

In the article form you are using, the “default” form, for instance.

Offline

#3 2007-01-13 16:58:55

lemonhead
Member
Registered: 2006-08-04
Posts: 32

Re: How do I disiplay a partial excerpt from the body

I was able to determine that the code should be placed in the article form, but where within the article form ? I have tried a few places, none of which work.

Thanks again !
LH

<txp:if_article_list>
<txp:if_excerpt>
<txp:excerpt />
<txp:permlink> (more…)</txp:permlink>
<br /><br />
<txp:else />
<txp:rss_auto_excerpt length=“5” />
<txp:body />

</txp:if_excerpt>
<p class=“comments_link”><txp:image id=“6.gif” /> Filed under: <txp:category1 link=“y” /> <txp:category2 link=“y” />
<br />
<txp:image id=“5.gif” /> <txp:comments_invite /></p>
<txp:else />

<txp:body />

Offline

#4 2007-01-14 17:18:12

lemonhead
Member
Registered: 2006-08-04
Posts: 32

Re: How do I disiplay a partial excerpt from the body

I figured it out – I needed to get rid of: <txp:body />

I’m getting there………thanks for everyone’s help.

LH

Offline

Board footer

Powered by FluxBB