Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-04-11 05:40:48
- alzy
- New Member
- Registered: 2005-10-27
- Posts: 7
Titles only
My permalinks are formatted in this manner.
/section/title
Do I create a new page so that when someone goes,
http://example.com/section
The person will see a listing of just the titles of the posts but not the entire post.
Then when he/she clicks on the title permalink, then can the person see the entire post.
Not sure if you all understand what I’m trying to say. Please help. Thanks.
Offline
Re: Titles only
Are you looking for recent article tag?
Offline
#3 2006-04-11 06:05:15
- whatbrick
- Member
- From: Texas
- Registered: 2006-03-13
- Posts: 100
Re: Titles only
Here’s a link that should help. <a href=“http://textpattern.com/faq/22/how-do-i-select-which-form-is-used-to-display-articles”>This</a> will handle the display of a list of articles and a single article.
So say you have this form, called articleList (as an example):
<h2><txp:permlink><txp:title /></txp:permlink></h2>
and this form called singleArticle:
<h2><txp:title /></h2>
<txp:body />
Then you could use the article tag like so:
<txp:article form="singleArticle" listform="articleList" />
To handle the display of both of them on one page.
For more options on the article tag, check the <a href=“http://textpattern.net/wiki/index.php?title=Txp:article_/”>wiki.</a>
Do not taunt the Markup Monkey!
Offline
#4 2006-04-11 15:32:43
- alzy
- New Member
- Registered: 2005-10-27
- Posts: 7
Re: Titles only
wow thanks. that’s exactly what I was looking for. Never occurred to me that I could solve my problem with forms. Thanks whatbrick!
Offline
Pages: 1