Thanks very much for all the work done so far on this module. It's great to see people building on the existing Image* suite.
We can't get exposed views filters to work without a hack. Currently when the iframe overlay pops up, even though we have clean URLs on the rest of the site, it has a URL of /?q=imagebrowser/ib_wysiwyg. Then, the views filter form appears, with <form action="">. This would be fine if we that URL was clean. As it is, it means changing a filter and clicking "Apply" submits it to the homepage, leading to a squashed-up version of the site inside the iframe!
Here's a fix of this specific problem:
/**
* Implementation of hook_form_alter
*/
function imagebrowser_form_alter(&$form, $form_values, $form_id) {
if ($form_id == "views_exposed_form" && $_GET['q'] = "imagebrowser/ib_wysiwyg") {
$form['#action'] = url($_GET['q']);
}
}
But I wondered if anyone knew what was actually happening: is this a general problem which might arise with non-clean URLs? Should the default view have a path set so that $view->get_url() works properly in views.module ?
Comments
Comment #1
scroogie commentedSee #556920: No filters in 2.x?