I have a Views-based search page on my site. I've created a views-view-search--tpl.php file to customize the order of elements on the page. I have a specific block I'd like to return but ONLY if a user has already clicked the search button and results were returned.
Here's the code I'd like to return based on that condition:
<?php if ($feed_icon): ?> <div class="feed-icon"> <?php print $feed_icon; ?> </div> <?php endif; ?>
I guess I probably need an 'if' statement or something before that block but I'm not sure how to reference if results and/or if user clicked the search button...
Anyone know how to do this?