Alter Drupal views argument title substitutions
I have a views with Tid with depth argument. I'm using this argument 开发者_StackOverflow中文版in page title ("Videos from %1"). The substitutions is replaced by the term name ("Videos from PHP" for example). But I need it to be replaced by the range of terms with its parents, if it is child term ("Videos from Computers PHP"). How can I do this?
I think this method will get you on the right track. You will probably want to put this in a preprocess function in your template.php file.
Drupal API
精彩评论