I'm aware of #1083748: Put exposed views filters into the block config section (where the color settings reside), but I think this is unrelated.

Currently, Views exposed form blocks are hidden from the blocks available to place in homeboxes.

However, it can be useful to place one of these blocks to act as a jumping off point to the View page which will show filtered results.

Comments

joachim’s picture

Status: Active » Needs review
StatusFileSize
new2.74 KB

Here is a patch that restores these.

I've added code to alter the Views exposed form submit button, as I think the 'Apply' label on the submit button doesn't make sense here, as there's nothing for the form to apply *to*. Unfortunately, this requires a fair bit of hoop-jumping to alter the form only when it's being shown in a homebox.

mikebell_’s picture

Status: Needs review » Reviewed & tested by the community

Tested this on our setup and it works fine. Not sure why they were ever excluded in the first place.

michielkenis’s picture

Didn't work out for me... It clears my whole homeboxes.
And I don't have this line:
$array = module_invoke($block->module, 'block', 'view', $block->delta, array('homebox' => $block));

But I have this one:
$array = module_invoke($block->module, 'block', 'view', $block->delta);

How can I solve my problem?

neograph734’s picture

Version: 6.x-3.x-dev » 7.x-2.x-dev
Issue summary: View changes
Status: Reviewed & tested by the community » Needs review
StatusFileSize
new714 bytes

Patched against Drupal 7.

For me this worked immediately after removing the following code block

    // We don't want to list exposed views blocks
    if (strpos($block['delta'], '-exp-') === 0) {
      // Remove exposed views blocks
      unset($blocks[$key]);
      continue;
    }

So the patch is a bit smaller than the D6 version.

anybody’s picture

Status: Needs review » Closed (won't fix)