Hi All,
I need to use li instead of div for wrapping items in CListView. I am doing something like this:
$this->widget('zii.widgets.CListView', array(
'dataProvider'=>$userTopics,
'itemView'=>'_topic',
'itemsTagName '=>'li',
'id'=>'topics-list',
'template'=>'{items}'
)
);
I think it should work, but I get the error saying ‘itemsTagName’ is undefined property in CListView. I am using Yii 1.1.15. I checked the CListView.php in the framework and the property exists there. Being a public property, it should be possible to overwrite but I get that error.
Can anybody please help me?
Regards,
Sushil