You are here

function nodeorder_term_path in Node Order 6

Same name and namespace in other branches
  1. 5 nodeorder.module \nodeorder_term_path()

Implementation of hook_term_path() from Taxonomy.

File

./nodeorder.module, line 210
Nodeorder module.

Code

function nodeorder_term_path($term) {
  if (variable_get('nodeorder_replace_taxonomy_link', 1) || arg(0) == 'nodeorder') {

    //if nodeorder is being used to display term pages
    return 'nodeorder/term/' . $term->tid;
  }
  else {
    return FALSE;

    //create regular taxonomy-links on taxonomy page
  }
}