I have a view with default and attachment displays. The default display has exposed fields. I will like a situation whereby when the "Apply" button is clicked, the view with attachment display should get updated as well.

I have looked into the views source, and I noticed that views_exposed_form is using only the display where the view originates from. In my case, the "default" display.


  // from views 2 source

  $display = &$form_state['display'];
  ....
  ....
  $form['#theme'] = views_theme_functions('views_exposed_form', $view, $display);

How do I go about making the exposed filter changes to propagate to my attachment display as well when the "Apply" button is clicked?

Will appreciate any help.

Thanks

Comments

drecute’s picture

Solved!

I got this fixed with views footer using PHP filter.

Perhaps, if anyone knows how to write an handler for views footer, I will strongly appreciate.

Regards