Hi, As I have indicated, I taken care of updating and fine tuning the contrib archive module (originally by codemonkeyx) to work nicely with node access modules and timezones. Morbus Iff and Kazuo Oishi was of great help. This modules does not have a calendar block, but the date browsing is handled with an easier to use 'multilayer' interface. http://cvs.drupal.org/viewcvs/drupal/contributions/modules/archive/ Since we need to compute the timezone according to site/user settings, we need to deal with the date values of nodes in PHP (or if someone knows a better solution, please speak up). This means that the module is not terribly efficient, using 14 SQL queries to build up the browser interface. We can push this down to 3, but then one of them would select the dates for all nodes in a year, which might be big. We should talk about this, I have no hard data. If core should have an archive module, then this should be reviewed and refined. I have added phpdoc comments, and tried to name every piece in the code sensibly, so that it is understandable. If an archive module is not needed in core, the current one could be removed, since there is a viable working alternative now. The current one, which has timezone and node access problems is not liked much in the development community, and Dries already indicated that it has no future in core. The issue: http://drupal.org/node/29676 Gabor
On 31 Jul 2006, at 23:44, Gabor Hojtsy wrote:
If core should have an archive module, then this should be reviewed and refined. I have added phpdoc comments, and tried to name every piece in the code sensibly, so that it is understandable. If an archive module is not needed in core, the current one could be removed, since there is a viable working alternative now. The current one, which has timezone and node access problems is not liked much in the development community, and Dries already indicated that it has no future in core.
I'm OK with removing the archive module from core. It's about the only module I don't mind removing. I'll go with the majority of the votes though. -- Dries Buytaert :: http://www.buytaert.net/
Not to interrupt the ongoing thread but just to provide a reason or two: Archive has always been a "blog" centric thing to me. And the fact that it did not work the way i.e. wordpress does it, made it less than adequate. So the contributed "monthly archive" module which I have seen lately - could perhaps inherit the role of the archive module - without being in core. A block which lists months, and links to the posts of that month - is all it takes to satisfy blogger needs. I think. best Gunnar Dries Buytaert wrote:
On 31 Jul 2006, at 23:44, Gabor Hojtsy wrote:
If core should have an archive module, then this should be reviewed and refined. I have added phpdoc comments, and tried to name every piece in the code sensibly, so that it is understandable. If an archive module is not needed in core, the current one could be removed, since there is a viable working alternative now. The current one, which has timezone and node access problems is not liked much in the development community, and Dries already indicated that it has no future in core.
I'm OK with removing the archive module from core. It's about the only module I don't mind removing. I'll go with the majority of the votes though.
-- Dries Buytaert :: http://www.buytaert.net/
--No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.5/404 - Release Date: 31-07-2006
I never used the archive blog, so I don't mind it being removed. I am not too keen on a replacement that does umpteen queries and could slow the site significantly though.
On 01 Aug 2006, at 15:02, Khalid B wrote:
I am not too keen on a replacement that does umpteen queries and could slow the site significantly though.
Then I'll go ahead and move the archive module to contrib? Goba, is that cool with you? Will you be the maintainer? -- Dries Buytaert :: http://www.buytaert.net/
On 31 Jul 2006, at 23:44, Gabor Hojtsy wrote:
As I have indicated, I taken care of updating and fine tuning the contrib archive module (originally by codemonkeyx) to work nicely with node access modules and timezones. Morbus Iff and Kazuo Oishi was of great help. This modules does not have a calendar block, but the date browsing is handled with an easier to use 'multilayer' interface.
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/archive/
The archive module has been removed from core (http://drupal.org/cvs? commit=37837). Gabor agreed to take over responsibility of this module's functionality. He'll maintain the module in contrib, or integrate the functionality in an existing module. (Note that I don't plan to remove any other modules from core at this point. We discussed this before.) -- Dries Buytaert :: http://www.buytaert.net/
participants (4)
-
Dries Buytaert -
Gabor Hojtsy -
Gunnar Langemark -
Khalid B