Closed (fixed)
Project:
Taxonomy Redirect
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
30 Aug 2007 at 02:11 UTC
Updated:
29 Dec 2022 at 23:28 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedI figured it out...I just have to change the return statement slightly in the taxonomy_redirect_term_path() function.
Comment #2
chadchandler commentedI think PathAuto would better compliment what you're trying to do.
Comment #3
Anonymous (not verified) commentedI agree, except that I want the url's like "photos/tags/tag-name-1" or "photos/tags/tag-name-2" to be directed to pages that have been created with views. When I tried to use pathauto, the urls would redirect to the standard taxonomy module pages that list node teasers...rather than to the pages that views created. So, I was trying to find another solution.
Comment #4
alexiscott commentedI think that this would be good too. Like a drop down menu on the Admin page maybe.
Or, even just having a theme function, maybe like this, where we could overwrite the path:
theme_taxonomy_redirect_path($term) {
// Customised:
return ($path == NULL ? 'taxonomy/term' : $path) . "/" . strtolower($term->name);
}
Comment #5
wrunt commentedI've changed the path format to replace !tid and !name with the term id and name respectively. You can also override this behaviour by defining the function taxonomy_redirect_custom_term_path($term, $path). These changes will be in the 5.x-1.1 release.
Comment #6
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.