I’m a really start onYii, I’m Portuguese (sorry my bad English sometimes).
So I have Yiiv1.1.14 and I downloaded the Bootstrao extensions from here:
At this moment I have a problem, and I have no idea to resolvi it…
So, I created the CRUD structure on giiTool, and now I’m trying to display results in a simple tamble (tbridView) on index view page.
I have this (original code):
<?php $this->widget('zii.widgets.CListView', array( 'dataProvider' => $dataProvider, 'itemView' => '_view', )); ?>
in _view.php I just have this:
<?php echo CHtml::encode($data->nomeUtilizador); ?>
And what I want to display this result in a table (tbRidView), and I changed to:
<?php $this->widget('bootstrap.widgets.TbGridView', array( 'dataProvider' => $dataProvider, 'itemView' => '_view', )); ?>
Then I run and I have a error:
"Property "TbGridView.itemView" is not defined."
Can someone help me?
Thanks guys! ('m a really noob at this…)