[drupal-devel] [feature] Browse by month
Morbus Iff
drupal-devel at drupal.org
Thu Aug 25 20:04:52 UTC 2005
Issue status update for
http://drupal.org/node/9414
Post a follow up:
http://drupal.org/project/comments/add/9414
Project: Drupal
Version: cvs
Component: archive.module
Category: feature requests
Priority: normal
Assigned to: Anonymous
Reported by: ahoeben
Updated by: Morbus Iff
Status: patch (code needs review)
Attachment: http://drupal.org/files/issues/_p_9414_archive.patch (5.09 KB)
Attached updated patch for HEAD. I'll be fiddling with it some more too.
Morbus Iff
Previous comments:
------------------------------------------------------------------------
Tue, 20 Jul 2004 12:00:51 +0000 : ahoeben
Attachment: http://drupal.org/files/issues/archive_AH040720.patch (5.22 KB)
I made a couple of changes to archive.module to facilitate browsing the
archives by date.
* Opening an archive URL without specifying a day will display the full
month, eg www.example.com/archive/2004/07
* Selecting the 0th day of the month in the archive page drop down
selects the full month
* Using the previous/next raquo's in the calender block now uses full
month browsing
The attached patch is against 4.4.2 and is untested against CVS.
------------------------------------------------------------------------
Wed, 11 Aug 2004 12:15:46 +0000 : Anonymous
Patch don't work with archive.module (drupal 4.4.2).
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 26.
Hunk #3 FAILED at 49.
Hunk #4 FAILED at 64.
Hunk #5 FAILED at 85.
Hunk #6 FAILED at 131.
Hunk #7 FAILED at 218.
Hunk #8 FAILED at 236.
Hunk #9 FAILED at 245.
9 out of 9 hunks FAILED
------------------------------------------------------------------------
Sat, 07 May 2005 23:02:45 +0000 : ahoeben
Attachment: http://drupal.org/files/issues/archive_AH050508.patch (4.78 KB)
Blast from the past... Not sure what I did wrong to have my original
patch fail, but here is a new patch applying the same changes to Drupal
4.6
------------------------------------------------------------------------
Sat, 07 May 2005 23:16:48 +0000 : Cvbge
Hello,
thanks for your patch, that's a feature I wanted :)
But please change day "0" to "ANY" or similar.
------------------------------------------------------------------------
Sun, 08 May 2005 10:19:21 +0000 : ahoeben
Attachment: http://drupal.org/files/issues/archive_AH050508b.patch (5.15 KB)
New patch. Changed '0' in day dropdown to 'All days'. You should be able
to change that string using a locale (but I have no experience with
locales in Drupal).
Also fixed a tiny bug that would cause the year dropdown to stop being
useful on jan 1st 2006.
------------------------------------------------------------------------
Tue, 10 May 2005 13:50:13 +0000 : ahoeben
Patch applies to cvs version as well...
More information about the drupal-devel
mailing list