Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-06-04 16:22:09
- pipa
- New Member
- Registered: 2009-06-04
- Posts: 4
headlines index, how to group the titles of the articles published
I need a plugin to index in one page only the titles of the articles published, like a headlines index.
I use Textpattern to publish news, and i would like to list only the titles of each article on a page with a link to this article. I would include this in my index page.
For example:
- New sections explained
- How to raise animals 101
- Pick anything, the choice is yours
All with link to the article itself. Of course this list should update everytime something new is published.
Maybe a full page or a snippet of code that i could add to another page. Anything. Please.
Thanks,
Max
Last edited by pipa (2009-06-04 16:23:09)
Offline
Re: headlines index, how to group the titles of the articles published
Hi Max,
welcome to txp
You actually do not need a plugin check out the article and/or the article_custom tags
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: headlines index, how to group the titles of the articles published
Make a new article form containing this:
<txp:permlink><txp:title /></txp:permlink>
Call this form with an article
or article_custom
tag by setting the form
attribute. Which tag you should use depends on what kind of page this is for and what articles you want to list.
For more info you should maybe start here
Code is topiary
Offline
Re: headlines index, how to group the titles of the articles published
Max, do you mean something like this?
As Yiannis and J suggest, the Article tag (with or without “excerpts”) is your friend:
<txp:output_form form="header" />
<txp:article status="sticky" limit=1 />
<txp:article listform="excerpt" limit="50" />
<txp:output_form form="footer" />
Keith
Blyth, Northumberland, England
Capture The Moment
Offline