I’m rather new to yii, and am having some trouble with CTabView.

I would like to break up an auto genarated _form file into tabs,

but I can’t figure out how to get the content into the tabs array.

I tried to capture the html into a variable with ob_start, but this seems to interfere with yii’s own capturing some how.

Do I have to assign all content to a variable first so I can put it into a CTabView,

or does yii have some better mechanism for doing that.

thanks in advance


Try this http://www.yiiframework.com/doc/cookbook/8/.

that did the trick. thanks.

very useful in other contexts too.