tab di dalam tab itu gmn ?

para masterrr tolongin saya pleaseee,

kebutuhan saya tab di dalam tab, kurang lebihhh,

2759

tab in tab.jpg

untuk tab pertama saya pake ‘zii.widgets.jui.CJuiTabs’

nah untuk tab2/subtab niat nya pake ‘bootstrap.widgets.BootTabbable’ tapii itu statiss bisa ga siih digabung sama ajax ?

<?php $this->widget(‘bootstrap.widgets.BootTabbable’, array(

'type'=&gt;'tabs', // 'tabs' or 'pills'


'tabs'=&gt;array(


    array('label'=&gt;'inbox', [u][b]'content'=&gt;'aaaaa'[/b][/u]),

)),

    'events'=&gt;array(


        'show'=&gt;&quot;js:function() { console.log('Tabbable show.'); }&quot;,


        'shown'=&gt;&quot;js:function() { console.log('Tabbable shown.'); }&quot;,


    ),


),

)); ?>

‘content’=>‘aaaaa’

digantii

‘ajax’=>$this->breadcrumbs=array(‘member/inbox’),

thx for any response :)

hahahahahahhh…

it’s solved :D

just share information

controller





public function accessRules()

	{

array('allow', // allow authenticated user to perform 'create' and 'update' actions

				'actions'=>array('create','update','communications','inbox','outbox'),

				'users'=>array('@'),

			),

			

		);

	}


public function actionCommunications($id)

	{

		$this->renderPartial('communications',array(

		'model'=>$this->loadModel($id),),false,true);

	}




view.php





	

	<?php

		$this->widget('zii.widgets.jui.CJuiTabs', array(

	    'tabs' => array(

		    		

			'Communications' => array(

			'title'=>'tab1',

			'ajax'=>$this->breadcrumbs=array('member/communications&id='.$_REQUEST['id'])),

			

			

			

   ),

   

	    'htmlOptions'=>array(

        'style'=>'width:1010px;'),

		// additional javascript options for the tabs plugin

	    'options' => array(

	        'collapsible' => true,

	    ),

	));

?>



make communications.php





<?php

$this->widget('zii.widgets.jui.CJuiTabs', array(

    'tabs'=>array(

        'inbox'=>array(

			'title'=>'tab1',

			'ajax'=>$this->breadcrumbs=array('member/inbox&id='.$_REQUEST['id'])),

    					

		'Outbox'=>array(

			'title'=>'tab2',

			'ajax'=>$this->breadcrumbs=array('member/outbox&id='.$_REQUEST['id'])),

    					

    					

	 ),

	    'htmlOptions'=>array(

        'style'=>'width:900px;',

		'id'=>mktime()),

		// additional javascript options for the tabs plugin

	    'options' => array(

	        'collapsible' => true,

	    ),

	));

?>



make inbox.php and outbox.php

smoga bermanfaat :)

ini yg tak cari … ketemu juga