If you have an argument that gets a default (say taxonomy ID from the current content item), this behavior is never triggered because views_boxes will always pass a wildcard if no argument is present.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brenk28’s picture

This patch allows you set an argument with Administrative name {do_not_pass_wildcard} in your view, to indicate to views_boxes so no argument value will be sent to the view. This should only be used for views with single arguments, or if the argument is last in the list.

brenk28’s picture

Realized the patch in #1 fails when used in a make file.

jec006’s picture

Status: Active » Needs review
jec006’s picture

Status: Needs review » Needs work

This patch does not work as expected. The input for the contextual filter on the views boxes side is simply hidden when this argument is passed - making it basically always just do the default-no-argument behavior (normally hide the view).

recrit’s picture