I create programmatically Quicktabs on page and i have different types of quicktabs (view, block and other).
If i add to them another tab with HTML text, it start to be the default tab on page, whatever you want.
At any position and with any weight settings.

		$settings = array(
		  'ajax' => 1,
		  'hide_if_empty' => 1,
		  'default_tab' => 0,
		  'title' => 'cfp',
		  'rendered' => 'quicktabs',
		  'style' => 'Zen',
		);
		
		$custom_tabs[] = array(
			'vid' => 'some_view',
			'display' => 'default',
			'args' => $node->nid,
			'title' => 'Updates',
			'weight' => -3,
			'type' => 'view'
		);
		
		$custom_tabs[] = array(
			'title' => 'Timeline',
			'weight' => -4,
			'contents' => 'any text',
		);

		$out .= drupal_render(quicktabs_build_quicktabs('cfp', $settings, $custom_tabs));	

Does anybody know, how to solve it?

Comments

smustgrave’s picture

Status: Active » Closed (outdated)

With D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.

If still an issue or needed for 4.0.x (latest branch) feel free to reopen