The current way to setup a programatically created quicktab with a view tab will not allow you to pass in arguments directly in form of an array.

It'd be nice if you could do:

$tabs['first'] = array(
            'title' => 'Recent',
            'type' => 'view',
            'vid' => 'recent_content',
            'display' => 'block_1',
            'args' => array($term1, $term2),
          );

for example, in case where when you need to do special trickery to get the proper arguments to the view, when the arguments basically are not in the URL. Examples could be well, terms from the current node, whatever field from the current node... stuf you normally put in PHP in the default argument for the view, much cleaner if you could pass them directly to quicktabs.

I hope I manage to describe the request, It takes just a small harmless change, find attached the patch =)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

apaderno’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.