You are here

function nodeorder_menu_alter in Node Order 7

Implements hook_menu_alter().

File

./nodeorder.module, line 57
Nodeorder module.

Code

function nodeorder_menu_alter(&$items) {

  // Override the default taxonomy page.
  if (variable_get('nodeorder_override_taxonomy_page', 1)) {
    $items['taxonomy/term/%taxonomy_term']['page callback'] = 'nodeorder_taxonomy_term_page';
    $items['taxonomy/term/%taxonomy_term']['file'] = 'includes/nodeorder.pages.inc';
    $items['taxonomy/term/%taxonomy_term']['file path'] = drupal_get_path('module', 'nodeorder');
  }
}