Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
taxonomy.module
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Sep 2012 at 11:01 UTC
Updated:
31 May 2023 at 11:41 UTC
Jump to comment: Most recent
Comments
Comment #1
javi-er commentedI took a look to what you mention and the problem seems to be that the uri callback doesn't take in account url alias.
For instance if you replace the case you mention with the path retrieved from $term->uri() it will ignore the url alias (if any) defined for this term.
A test case for this is to enable forum module, go to admin/structure/taxonomy/forums edit the first term and add an alias.
As it is now, it will show the alias you set, if you change taxonomy_overview_terms to use the uri callback, the alias will be ignored and the view path for the term will be forum/[tid] .
I'm not sure which one is the right path, since forum/[tid] is defined by forum module with hook_entity_info_alter().
So I think the first question to make is which path to use for terms, the alias or the uri's.
Comment #2
dsdeiz commentedYeah, I forgot to mention that I tested this with the forum.module. If you view a forum node, the field for terms/forums seem to respect the "uri callback". But in the taxonomy overview page, the link points to taxonomy/term/[tid].
This is probably because the alias was created for taxonomy/term/[tid] instead of forum/[tid].
I guess it's not really a big deal. It's nice that there's at least a specific page to show nodes in terms.
Comment #3
poker10 commentedThis seems to be a duplicate of: #928188: taxonomy.admin.inc - is hardcoding taxonomy path
Comment #4
poker10 commented