Page 1 of 1
Archive plugin
Posted: Thu Dec 07, 2006 5:24 pm
by Davy
I haven't really searched for this, because of the many topics about archives...
But, is it possible to automatically add a month to the archive-plugin when a new month starts?
So in February 2006, it is:
December 2005
January 2006
But I want it automatically to be:
December 2005
January 2006
February 2006
Re: Archive plugin
Posted: Thu Dec 07, 2006 5:44 pm
by garvinhicking
Hi!
Hm, I'm afraid I don't understand what you mean exactly
The archives sidebar is generated automatically and will automatically show the latest X months. So when it is February 2006, you will also see links for february 2006!
Regards,
Garvin
Posted: Thu Dec 07, 2006 6:16 pm
by Davy
Yes, sorry I've made a mistake!
The problem is the amount of months. That is always the same. So when a new month starts, an old month will be hidden. But I want to show all months.
In that case, every month the amount of months has to be updated (+ 1).
Posted: Thu Dec 07, 2006 7:21 pm
by garvinhicking
Hi!
Just enter a very large amount of months then?
Why would you want to display mroe than 12 months or so, do you really think that is useful?
Regards,
Garvin
Posted: Thu Dec 07, 2006 8:23 pm
by Davy
I just want to display every month in which I've logged.
That will improve the flexibility of the search.
Posted: Thu Dec 07, 2006 9:14 pm
by garvinhicking
Hi!
You could patch the archives plugin then and change the PHP code to just remove the limiting?
I'm afraid this solution is too specific and not many people would use it, so I can't offer to code that for you in my free time...
Best regards,
Garvin
Posted: Thu Dec 07, 2006 9:24 pm
by Davy
well I see loads of blogs that use an archive with all months, that is updated each month (WordPress does it standard and automatically).
So I'm going to tweak the plugin this weekend!