is there a way inside the CListView that i can tell itthat for X records change the items css class?
i need to set four records in a row. the problem is that it my design my 4th record should see appended
something like
<div class="span-4 last"> RECORDS DATA HERE </div>
[code]
while all the other ones would just have
[code]
<div class="span-4"> RECORDS DATA HERE </div>
i really need your help on this one, thanks in advance …
PS - i’m using the blueprint.css that ships with Yii.
I used $index to check for the first record and to check for odd and even records, but how do I check for the last record if I don’t know the number of records I have?