Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-03-16 14:54:36
- Joe Burke
- New Member
- Registered: 2006-02-27
- Posts: 4
Archiving
I tried using the search form but couldn’t find much relevant that I could understand…
I’m trying to get to grips with organising all my data in text pattern. I have a homepage with News articles on it with links to “reviews” articles to the right. How can I have a page that lists all the “reviews” as the main content on the page, like an archive.
My site is: http://www.likewings.com/tombob
thanks alot
Offline
#2 2006-03-16 15:43:33
- davidgordon
- Member
- Registered: 2005-04-10
- Posts: 23
Re: Archiving
You need a section called “archive” (or whatever). There is an “archive” page with the default install of TXP. You should find that http://www.likewings.com/tombob/index.php?s=archive gets you to the default archive page. If you deleted the default archive page from your TXP install you can get a copy from the TextBook
You can then customise the “archive” page to your design. For example I am using the following code in my “archive” page:
<code>
<div id=“content”>
<txp:article_custom form=“dg-archive-list” />
</div>
</code>
and my form “dg-archive-list”
<code>
<txp:permlink><txp:title /> : <txp:posted /></txp:permlink>
<txp:excerpt />
</code>
Does that give you a clue?
Offline
#3 2006-03-16 15:48:54
- Joe Burke
- New Member
- Registered: 2006-02-27
- Posts: 4
Re: Archiving
Thanks alot, that seems to have got my in the right direction!
Offline