I wanted to make hackable URLs and was stuck with the following problem:
First, using CCK I created a new content type with 2 added fields, “years” and “seasons”. Field “years” is numeric field and field “seasons” is a content taxonomy field (used http://drupal.org/project/content_taxonomy).
Then using Pathauto I created path aliases for my posts that looked like http://www.example.com/something/2009/winter/title.html
Next, I created a view for “something” with two arguments based on year and season fields and used “display summary if argument is not present” for both fields.
Now, when I enter a url like http://www.example.com/something/2009, it gives me a list of terms IDs for seasons from my taxonomy vocabulary instead of the terms for seasons. In other words, despite I am passing “winter” as a second argument, it displays number 2, which is term ID for winter.
How can I change it to display seasons as winter, spring… instead of numbers?
Any help would be greatly appreciated (I search through and could not find a solution. I am new to drupal and not familiar with php code, but given good instructions can just insert a snippet if necessary)
Comments
Comment #1
merlinofchaos commentedEr, the taxonomy term argument should display the term rather than the ID. However, I do not know what content taxonomy does, so I can't speak for its version of the arguments.
Comment #2
esmerel commentedLikely related to additional module being used, overridding views.