[drupal-devel] [feature] Browse by month
ahoeben
drupal-devel at drupal.org
Tue May 10 13:50:16 UTC 2005
Issue status update for http://drupal.org/node/9414
Project: Drupal
-Version: 4.6.0
+Version: cvs
Component: archive.module
Category: feature requests
Priority: normal
Assigned to: Anonymous
Reported by: ahoeben
Updated by: ahoeben
-Status: active
+Status: patch
Patch applies to cvs version as well...
ahoeben
Previous comments:
------------------------------------------------------------------------
July 20, 2004 - 13:00 : 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.
------------------------------------------------------------------------
August 11, 2004 - 13:15 : 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
------------------------------------------------------------------------
May 8, 2005 - 00:02 : 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
------------------------------------------------------------------------
May 8, 2005 - 00:16 : Cvbge
Hello,
thanks for your patch, that's a feature I wanted :)
But please change day "0" to "ANY" or similar.
------------------------------------------------------------------------
May 8, 2005 - 11:19 : 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.
More information about the drupal-devel
mailing list