开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜