I am using taxonomy_term view to have more control on visualization.
I would like to know if there is a way to change the title of the view page.
Actually, if I call the following link:

http://mysite.com/taxonomy/term/13%2014%209%202%203%2010%208%2017%206%20...

It shows correctly all the terms, but it sets the title as "title1 + title2 + ..." (titles of the terms separated by a plus sign).

Can I change it to a fixed string (i.e. "Products")?

Thanks for help.

Comments

merlinofchaos’s picture

Status: Active » Fixed

Sure, set the 'title' of the field to Products. Now, if you want something more dynamic, there is a way to do this with PHP code in the argument validator, but it's a little tricky to do right. But you can set...I think it's $handler->validated_title and that will be used for the % replacement in the title field.

tomsm’s picture

Thank you for the information.
Can someone please help me with the PHP code?

My title is: parent item + child1 + child2 + ....
I only want to show the parent item in the title without the children?

I have solved the problem. Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

-Mania-’s picture

Looking for the same thing. @tomsm: You could have pointed out how you solved the problem!

edit. Found the solution at http://drupal.org/node/443110 which seems to be what worked for tomsm as well.