I have this for my tab.
I am trying to pass in two arguments that match the arguments for my block.
Am i doing this correctly?

the arguments don't seem to be passed in.

$tabs['professional'] = array(
  'title' => t('Profession'),
  'type' => 'view',
  'vid' => 'members',
  'display' => 'block_1',
  'args' => array(0=>all,1=>$fields['uid']->content),
);

Is this ok.

Comments

pasqualle’s picture

the args is a string, not an array. it is the same string what you would use in the url, or put into the argument field when you preview the view (on the view edit page), like arg1/arg2/arg3
I think you need:

 'args' => "all/{$fields['uid']->content}",
socialnicheguru’s picture

I want to add quicktabs to each each result of a view.
So if I create a list of members. i want to have each member's information presented in quicktabs

1. created a view with default display
2. create a view to list all members
3. created a block to list member details
4. created multiple blocks
5. create a quicktab with multiple tabs with block 3 being the first tab followed by others from block 4
6 theme the view from step 2 modifying the views-view--..tpl.php template. The view now calls quicktab programmatically so that I can pass down the uid argument for each view result
7. theme the block in #3 the way that I want it to look

Without themeing the block in step 7, the information shows up for the user.
Themeing the block, there is no information. none of the fields are populated.

I am not quite sure what I am doing incorrectly. Any thoughts?

socialnicheguru’s picture

sorry. I found out what it is. I was trying to overwrite the views style instead of the views row style.

Anietie

pasqualle’s picture

Status: Active » Closed (fixed)