I want to show the submitted exposed filter data in the Views header/footer. This can be done by retrieving the $view object in PHP. The following code will printed the exposed filter data. Apply it to the Views header/footer with PHP enabled.
<?php $view = views_get_current_view(); print_r($view->exposed_input); ?>
Done =)
This is great if you are not using ajax.
LikeLike
i haven’t tried that before, it does not work with ajax filter?
LikeLike
The issue is what would update the value? With Ajax, the page is not being reloaded, so no php is being run. You can always use JavaScript to do it, but I’m short on time. I may come back to this after I’m done migrating.
LikeLike
sure~ let’s see discuss it later
LikeLike