Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
Re: Browsing by date plugin
Quick update: I changed the validation code to use the new prefix-safe queries.
Offline
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
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
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
Re: Browsing by date plugin
So you mean something like this: http://www.1976design.com/blog/archive
Rayne
mama love
Offline
Re: Browsing by date plugin
Yup.
Offline
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