Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2010-10-08 19:11:37

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Offline

#3 2010-10-08 21:09:33

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

Board footer

Powered by FluxBB