Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
menu system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2005 at 19:50 UTC
Updated:
18 Dec 2005 at 03:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
moshe weitzman commentedThis is a useful first step towards breaking up hook_menu() and speeding up drupal (by avoiding building up the menu tree on every request).
Richard - please have a look when you get a chance.
Comment #2
Richard Archer commentedI have had a look at this patch and can't immediately see any problems with it.
I definitely like the separation of callbacks out of the items tree.
Here's a new version that applies cleanly against HEAD.
Comment #3
dries commentedCommitted to HEAD. Thanks.
Comment #4
Jaza commentedWhen I updated my CVS copy, and loaded the front page of my test site (set to 'node'), I received a 404. This was because Drupal was fetching the old, cached, site menu from the DB.
So, for anyone else that updates to latest HEAD and has 404 'page not found' problems: make sure you clear your menu cache! You can do this by: ensuring that menu_rebuild() gets called; ensuring that cache_clear_all() gets called; or simply emptying the cache table in your database manually.
Once the cache is refreshed, this patch seems to work fine. Nice work!
Comment #5
(not verified) commented