This is relating to the issue previously raised here:
http://drupal.org/node/39370

Which has been marked 'By design'. Discussion also here:
http://drupal.org/node/39337
http://drupal.org/node/39340

I am just what the reasoning is to providing a link to taxonomy/term/##/0 rather than the path or pathauto defined alias for terms?

Comments

mishhh’s picture

I second that.

Taxonomy_dhtml should provide links to vocabulary terms in alignment with the definitions pathauto does.

chazz’s picture

yes, links should be the same like pathauto links. Anybody have update ?

chazz’s picture

Quick fix for flat vocabularies
TomArah - September 8, 2006 - 21:36

Changing

$url = "taxonomy/term/$term->tid/9";

to

$url = "taxonomy/term/$term->tid";

works for me as I'm using non-hierarchical vocabularies.

For me it's working 50/50 because old aliases are change correct but when i add a new node link for categories doesnt work. It looks funny like "mysite.com/%5Bcatpatch%5D"

meba’s picture

I was thinking about this fix a long time ago. Can you provide a patch please? I will release it in next "feature" release.

markDrupal’s picture

I didnt totally patch this, but here is a change i made to my site to make the 2 modules work together. This patch turns off linking to taxonomy terms all toghther, it either links to a node or it shows the taxonomy term with no link

The patch starts around line 194 (some lines before and after the patch are included)

else if ($term->link){
$link = $term->link;
$output .= "

  • $link
  • \n";
    } else {

    /Patch START (turn off linking to pages with no items
    // $link = l(t($term->name), "taxonomy/term/$term->tid/9", array("title" => t($term->description)));
    // $output .= "

  • $link
  • \n";
    $output .= "

  • $term->name (empty)
  • \n";
    //Patch END

    }
    }
    $output .= str_repeat("

    \n", 1+$term->depth);
    return $output;

    markDrupal’s picture

    I'll try posting that again

       else if ($term->link){
          $link = $term->link;
          $output .= "<li>$link</li>\n";
        } else {
    
    //Patch START turn off linking to pages with no items
       //      $link = l(t($term->name), "taxonomy/term/$term->tid/9", array("title" => t($term->description)));
       //      $output .= "<li>$link</li>\n";
    	  $output .= "<li>$term->name (empty)</li>\n";
    //Patch END
    
        }
      }
      $output .= str_repeat("</ul>\n", 1+$term->depth);
      return $output;
    
    
    Anonymous’s picture

    Status: Active » Closed (fixed)

    This module is no longer being actively developed as it duplicates functionality that can be obtained through the usage of taxonomy_menu ( http://drupal.org/project/taxonomy_menu ) and dhtml_menu ( http://drupal.org/project/dhtml_menu ).