The point is to remove from CListView render, those two divs:
<div id="yw0" class="list-view">
<div class="items">
I’ve been looking here:
https://github.com/yiisoft/yii/blob/master/framework/zii/widgets/CBaseListView.php#L123
But I found nothing related with those two divs there.
Can anyone please share, what should we extend in order for make this a reality ?
Here’s an update of the desired output:
<div>
<article class="itemthing">
list data
</article>
<article class="itemthing">
list data
</article>
<article class="itemthing">
list data
</article>
</div>
You’d be better off extending from CListView itself, but write new implementations for
run()method in CBaseListView and a new implementation for therenderItems()method in CListView, for example:Edit:
Be aware that some of the default clistview functionality will not work with only this much, because the jquery.yiilistview.js will not work without an id, that identifies this listview.
Edit:
From your updated question, you can do this, then: