Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-10-08 19:03:41
- ricoschette
- Member
- From: Estonia
- Registered: 2005-09-17
- Posts: 176
Create an archive list
What’s the best (easiest?) way to create subnav archive list?
It should be sorted by month:- october 2010
- september 2010
- august 2010
….
Articles in it are only from one section, blog.
When clicked on the certain month, in the content div the articles should be sorted by date.
Headline, date posted, author.
Haven’t done this with TXP before.
Offline
Re: Create an archive list
Good places to start:
http://txptips.com/category/archives/
http://textbook.textpattern.net/wiki/index.php?title=Category:Site_Design/Architecture
which includes:
http://textbook.textpattern.net/wiki/index.php?title=Create_Archive_lists_by_month
Code is topiary
Offline
Re: Create an archive list
This can all be done within Txp and you can see a couple of articles I wrote describing the method, including a linked sidebar menu, here and here but it is a lot of work and it can be done much more easily using Mary’s upm_date_archive plugin. An example of what you can get can be seen here. The main content display is controlled by a form so that you can display your Headline, date posted, author structure. The plugin can also be used to display a linked sidebar menu if you want one. You can see that in the “Headlines” footer. The advantage of using the plugin is that you only display the month requested rather than moving up and down through the complete archive listing.
Last edited by thebombsite (2010-10-08 23:23:16)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#4 2010-10-09 14:56:44
- ricoschette
- Member
- From: Estonia
- Registered: 2005-09-17
- Posts: 176
Re: Create an archive list
Thanks a lot guys!
I’m mastering “upm_date_archive” plugin now :)
TXP rocks!
Offline
Pages: 1