I discovered a piece of code in themekey.taxonomy.inc that should "Add support for 'taxonomy_menu' paths":

$prefix = variable_get('taxonomy_menu_display_page', 'category');
$paths[] = array('path' => $prefix .'/#taxonomy:vid/#taxonomy:tid');
for ($i=1; $i<=MENU_MAX_PARTS-3; $i++) {
  $paths[] = array('path' => $prefix .'/#taxonomy:vid/'. implode('/', array_fill(0, $i, '#')) .'/#taxonomy:tid');
}

But it seems that this code is related to Taxonomy Menu 5.x

Comments

mkalkbrenner’s picture

Feedback from Taxonomy Menu maintainer via mail:

Paths are quite a bit more complicated in the D6 version. There is an API and different path types (http://drupal.org/node/380652). Here is the taxonomy_menu function used to build the paths. Building the path requires the tid and vid. You can get the current path for a tid from the taxonomy_menu table. It stores the tid and related mlid. Then you can go to the menu_links table and get the path.

/**
 * Create the path for the vid/tid combination.
 *
 * @param $vid
 * @param $tid
 * @return string
 *  path
 */
function taxonomy_menu_create_path($vid, $tid) {
  //get the path function for this vocabulary
  $function = variable_get('taxonomy_menu_path_'. $vid, 'taxonomy_menu_path_default');
  //run the function
  return $function($vid, $tid);
}
mkalkbrenner’s picture

Title: Integration of Taxonomy Menu outdated? » Support Taxonomy Menu custom paths

I will temporally deactivate this feature for 6.x-1.2beta2 release because current code just doesn't work since a long time.

I turn this issue into a feature request.

mkalkbrenner’s picture

Status: Active » Postponed
mkalkbrenner’s picture

Status: Postponed » Closed (won't fix)

This feature won't be implemented any more.

  • mkalkbrenner committed 52d0071 on 8.x-1.x-playground
    [#616946] mkalkbrenner: Temporally deactivated Taxonomy Menu integration...
  • mkalkbrenner committed f3a3ef5 on 8.x-1.x-playground
    [#616946] mkalkbrenner: Temporally deactivated Taxonomy Menu custom path...

  • mkalkbrenner committed 52d0071 on 8.x-1.x
    [#616946] mkalkbrenner: Temporally deactivated Taxonomy Menu integration...
  • mkalkbrenner committed f3a3ef5 on 8.x-1.x
    [#616946] mkalkbrenner: Temporally deactivated Taxonomy Menu custom path...