Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-08-24 14:27:00
- sturomanek
- New Member
- Registered: 2007-08-22
- Posts: 3
section specific excerpts
i have a page setup where the selected article fills a left side content bar. on the right side content bar i want a ‘related information’ type thing. so how can i pull excerpts from other articles within the section (at random preferably) into my right content div?
Offline
Re: section specific excerpts
Well, like with txp:article_custom
, like this (if you even mean a something like this – replace section blog with the section that you want to use):
<txp:article_custom sort="rand()" section="blog" limit="10" form="excerpt-list" />
The Article-form excerpt-list:
<txp:excerpt />
<txp:permlink>Read the full article <txp:title /></txp:permlink>
Cheers!
Last edited by Gocom (2007-08-24 15:14:09)
Offline
#3 2007-08-24 16:16:49
- sturomanek
- New Member
- Registered: 2007-08-22
- Posts: 3
Re: section specific excerpts
thanks for the tip, works like a charm
Offline
Pages: 1