I included tabs in the body parameters and nothing will print after tabs.

Here is my test.

---

					 <?php $form = array();

 					$form['loctabs'] = array(
  						'#type' => 'tabset',
  					);
  					$form['loctabs']['tab1'] = array(
    					'#type' => 'tabpage',
    					'#title' => t('One'),
    					'#content' => t('First tab content.'),
  					);
  					$form['loctabs']['tab2'] = array(
    					'#type' => 'tabpage',
    					'#title' => t('Two'),
    					'#content' => t('Second tab content.'),
  					);
  					$form['loctabs']['tab3'] = array(
    					'#type' => 'tabpage',
    					'#title' => t('Three'),
    					'#content' => t('Third tab content.'),
  					);
					return tabs_render($form); ?>
test print this
<?php print $node->type ?>

Comments

eMPee584’s picture

Status: Active » Postponed (maintainer needs more info)

Well the return statement is surely not getting you what you wanted, try replacing it with a print call?