Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-03-28 21:37:33
- chas_h
- New Member
- Registered: 2005-08-02
- Posts: 5
Extended article space.
Hi, Very new to textpattern and wondering if there is an easy way to add an extended (hidden) text area for longer articles. Something that would be accessed with a “read more” link in the main article. I tried searching the forums but wasn’t able to find anything
thanks in advance for any suggestions,
Chas.
Offline
Re: Extended article space.
You can use the ‘excerpt’ field to display the shorter version of an article.
Offline
#3 2008-03-28 22:06:14
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Extended article space.
Offline
#4 2008-03-28 22:59:09
- chas_h
- New Member
- Registered: 2005-08-02
- Posts: 5
Re: Extended article space.
Thank you both, I had to read the article at the Bombsite about 4 times but it finally sunk in :)
thanks,
Chas.
Offline
Re: Extended article space.
The if_excerpt procedure which can be used everywhere.
A basic article form
<h2><txp:permlink><txp:title /></txp:permlink></h2>
<txp:article_image/>
<!-- The simple if_excerpt logic -->
<txp:if_excerpt>
<txp:excerpt />
<p><txp:permlink>More...</txp:permlink></p>
<txp:else />
<txp:body />
</txp:if_excerpt>
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Pages: 1