I've got a view content pane that show the latest 3 articles with a certain tag. The tag used is passed to the contextual filter as an argument in the panels interface. I need to display the name of the tag that is being passed as an argument above the view (in a header).

How can I print the tag name or a string passed as an argument in the views header?

Thanks

有帮助吗?

解决方案

My suggestions:

1) You will need to enable php as a input type for views header. Then place code there to print the tag.

2) Use the theme link in the views and find the template file which is responsible for the output . Override that in your own template directory.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top