How do I redirect the user to some other page, when the view returns empty result?
Tell me more
×
Drupal Answers is a question and answer site for
Drupal developers and administrators. It's 100% free, no registration required.
In your views No results behavior Choose ' Global: Text area ' choose php filter and add the following code.
|
|||
|