Hook Menu and module prevalence I am implementing the following in a module: 

function foo_module_menu() {

    $items['taxonomy/term/%'] = array(
    'page callback' =&gt; 'subproducts_populate_taxo',
   'page arguments' =&gt; array(1),
    'access callback' =&gt; 'user_access',
    'access arguments' =&gt; array('access content'),
    'type' =&gt; MENU_CALLBACK);

    return $items;
};


This hook doesn't seem to work, i assumed it was because of the taxonomy module having prevalence on this menu item, so i gave my module a -1 weight. 

Now strange thing, it work but only after clear cache once after applying the weight change. If i reflush cache the Taxonomy module take prevalence again even though i didn't rechange the weight.. 

Any ideas ?
Use hook_menu_alter() to override existing menu entries.