1

I have a Search view that uses the Filter: Search terms.

I've tried using <?php print arg(0); ?> in the header, but that only returns the view url (search).

How do I get the value of the query key /search?keys=term to be able to use it as a token in a Global: Text area in the Header?

My header title would be something like : Results for [search term]

1 Answer 1

2

$_GET['keys'] should give you the term value.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.