Hi,

Does anyone else have a problem with taxonomy_dhtml and url aliases? When I add a url alias (using path.module) as instructed, the aliased url works fine, but it does not show up in the menu generated by taxonomy_dhtml. The menu still shows urls as taxonomy/term/14/9/ and not the alias.

However, when I include a trailing slash at the end of the relative url in the path alias form, the alias shows up in the menu generated by taxonomy_dhtml -- but the aliased link no longer works (a 'page not found' page is displayed).

I just installed pathauto thinking it might make a difference or resolve the issue, but the problem still exists.

Is this something that has been discussed? I've been searching for possible solutions but have yet to see any related discussions. Is there a known module conflict between path and taxonomy_dhtml or a patch?

Thanks,

K

Comments

kayman-1’s picture

Ok. I may have fixed my problem. But that doesn't mean that I didn't totally undo some hugely needed function in the module :)

In taxonomy_dhtml, I replaced the following line:

$link = l(t($term->name), "taxonomy/term/$term->tid/9/$op", array("title" => t($term->description)));

with

$link = l(t($term->name), "taxonomy/term/$term->tid/9", array("title" => t($term->description)));

and now the generated menu links to the url aliases.

Please let me know if this causes anyone problems.

Thanks

kevinwalsh’s picture

i have both of these installed, with the new version of taxonomy_dhtml, which includes the above fix. However, now i can't create an alias for the taxonomy_dhtml page. i tried to create a path for /taxonomy_dhtml with /themes (no forward slashes on either). but if i navigate to /themes it gives me a 404. Strange, because all of my other aliases still work.