Closed (fixed)
Project:
Node Order
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2008 at 04:54 UTC
Updated:
8 Jan 2009 at 19:26 UTC
The term links on a node (the list of terms a node is in) always point to nodeorder/term/x even when taxonomy/term/x is being viewed (for example when using a View to display terms with the nodes sorted by weight_in_tid so it works with nodeorder).
To fix this replace at line 126 in nodeorder.module:
function nodeorder_term_path($term) {
return 'nodeorder/term/'. $term->tid;
}
with:
function nodeorder_term_path($term) {
if (arg(0) == 'nodeorder') //if nodeorder is being used to display term pages
return 'nodeorder/term/'. $term->tid;
return false;
}
This uses the requested path to determine if nodeorder/term/x or taxonomy/term/x links should be used. This approach works with aliases (and therefore pathauto).
Comments
Comment #1
pvanderspek commentedThe nodeorder version for D6 contains a setting which controls this behavior.