Closed (duplicate)
Project:
Content Taxonomy
Version:
6.x-1.0-rc2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2009 at 14:21 UTC
Updated:
27 Mar 2010 at 19:43 UTC
Hi,
My view accept a content_taxonomy term as argument.
The value used as the argument is the term id.
Then, my view's title is "My View %1"
The problem is that this displays "My View 123": the term id is displayed and I want term's text instead.
Is there a way to do so?
Comments
Comment #1
mas160 commentedIf you set title as "My View %term" should do the trick.
Comment #2
anrikun commentedNo it doesn't work :-(
The field expects arguments like %1 %2 ou %3:
Comment #3
mas160 commentedYou're right, %term won't work, BUT: I tried to set a personalized title and given %1 argument is TID of term and title is defined "MyView %1" pointing to / I see on page title "MyView ", not TID...
Wich version of views are you using? I tested this on 6.x-2.6.
Further I think this is a Views issue, not taxonomy.
Comment #4
anrikun commentedI'm using 6.x-2.6 too.
Sorry but I didn't really understand your last reply.
Let's consider that:
- my view accepts a Content Taxonomy term ID as argument
- my view path is myview/%1
- my view's title is set as "My View %1"
- one term is "fruit" and fruit's TID is 123
When I access page "view/123", I would like that "My View fruit" is displayed as page's title instead of "My View 123".
Did you manage to do that?
Thanks for your answer.
Comment #5
mas160 commentedYes, I simply activated replacement view for "taxonomy/term" taxonomy_term that comes with views2, into argument "term id (with depth)" I set My View %1 in Title field, then saved and pointed to a taxonomy page and, after a site cache cleaning, title of page was, say 123 is the tid and fruit is term name, My View fruit and not My View 123.
That's all I done, and hope is clear. English is not my natural language, so I can write like Robinson Crusoe's Friday :D
Comment #6
xjmSee also: #490770: Content_taxonomy as Views Argument: shows number?.