Cjuitabs Parameters


How can I set CJuiTabs link title without change the id ?

For example

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

    'tabs' => array(

        'title 1'=>array('content'=>'my content', 'id'=>'my-id-1',),...

When mouse over the title 1 tab I want to show a description instead of the id…

How to achieve that ?

Also I want to set a tab as disabled (like disabled checkbox) is there a way to do that ?


I believe you can rewrite the item template

something as following

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

	'headerTemplate'=>'<li><a href="{url}" title="{title}">{title}</a></li>', // you change the title here

	'tabs' => array(

		'title 1'=>array('content'=>'my content', 'id'=>'my-id-1',)



Thanks alriz

I will test it