Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-04-07 17:03:08

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Browsing by date plugin

A few people have emailed me about this so I’ll update all of you here. I’m hoping to complete version 1.0b today. No guarantees though, because I’m running a bit of a fever and my brain has gone to mush. The plugin includes a new article tag that works just like the standard one except that it automatically filters articles by year, month, & day. I’ve also implemented a month-list tag and a nested month-list tag. Both tags let you filter by section and/or category (or simply let the context decide what should be displayed).

Breadcrumbs, previous/next date item navigation tags, date tags in article forms with individually clickable year, month, day elements, detailed clean urls and a few other goodies are on the way. I should have my site up by this weekend so you can see all this stuff in action.

Offline

#2 2004-04-07 18:12:48

Sho
Member
From: Berlin, Germany
Registered: 2004-03-08
Posts: 15

Re: Browsing by date plugin

Really cool. Gotta combine that with mod_rewrite to enable fancy date URLs, then I’m all set.

Offline

#3 2004-04-12 00:57:19

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

Okay, the date aware plugin is ready. Grab a copy at http://www.nakedloftparty.com/txp_plugins/. This plugin works with g118a. Please note that internationalized month names are not yet supported.

The functionality has been extensively tested from g116 to g117b but there may be some quirks due to the plugin conversion and configurations I’m not running. Let me know if you observe any strange behavior.

Offline

#4 2004-04-12 02:32:39

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

Quick update: I changed the validation code to use the new prefix-safe queries.

Offline

#5 2004-04-13 19:15:55

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

Re: Browsing by date plugin

I’d like to do something like what is found here: http://wifetalks.com/archives/

Last edited by rayne (2004-04-13 19:16:26)


Rayne
mama love

Offline

#6 2004-04-13 20:48:14

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

swills, the code validates for me under XHTML 1.0 Strict and Transitional. Are you using some other DOCTYPE?

I’m probably not going to do anything with calendars, as I have other date access tools (previous/next date item) that eliminate the need for them.

rayne, my archive list does one better than the site you linked. Each of the date elements is clickable and brings you to a more detailed view. Look for this in a week or so.

Offline

#7 2004-04-13 21:57:11

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

Just posted a fix to the code. The urls should validate now. I was running under my own clean url mode and thus didnt see the validation errors.

Offline

#8 2004-04-13 22:05:20

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

Re: Browsing by date plugin

So you mean something like this: http://www.1976design.com/blog/archive


Rayne
mama love

Offline

#9 2004-04-14 05:05:44

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

Yup.

Offline

#10 2004-05-13 19:46:24

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

FYI: I’m waiting on the next release of TXP to finish the plugins for the remainder of the date-related functionality I’ve implemented on my site. Clean date-based urls and date-based archives will be at the top of my list.

Offline

#11 2004-05-15 07:03:57

starzabove
Member
Registered: 2004-04-13
Posts: 76

Re: Browsing by date plugin

“<.txp:akw_article_custom. /> accepts year, month and day parameters of the form YYYY, MM and DD. Parameters may be omitted from right to left.”

Could you explain more how to use this tag? I’m just not ‘getting it’ for some reason.

Thanks so much for this plugin!

Last edited by starzabove (2004-05-15 07:04:32)


90+ Textpattern installs and still going…

Offline

Board footer

Powered by FluxBB