Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-02-09 18:19:49

roelof
Member
Registered: 2005-03-27
Posts: 647

what's the best way to make a "read on" link on the write tab

Hello,

Because of the layout I have to make for some articles a read on link because the article goes on on the next page.

Can I make such a link on the write tab or do I need to make a form for it.

Roelof

Offline

#2 2010-02-10 15:35:32

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: what's the best way to make a "read on" link on the write tab

there are some options:

1.
use 2 forms one for article list and the other for individual
<txp:article form="your-individual-form-name" listform="your-list-form-name" />
in your individual form:
<txp:title /><br /><txp:body />
in your list-form:
<txp:title /><br /><txp:excerpt /> <txp:permlink>read on</txp:permlink>

2.
use only one form for both list and individual articles by using the tags: if_article_list / if_individual_article

<txp:if_article_list>
  <txp:title />
  <br /><txp:excerpt />
  <txp:permlink>read on</txp:permlink>
<txp:else />
  <txp:title />
  <br /><txp:body />
</txp:if_article_list>

3.
use the rss_auto_excerpt plugin to automaticly create an excerpt of your full article body.
( If the plugin download link is broken so copy the plugin code from here )

Offline

#3 2010-02-10 15:43:01

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: what's the best way to make a "read on" link on the write tab

Oke,

I will try the options ?

Roelof

Offline

Board footer

Powered by FluxBB