Hi all, Im writing up a private messaging module, now for my inbox im using CActiveDataProvider and passing it to a ClistView in my view. Now I want to make every message that is not read display different, like Become bold or something.
Now how do i do this using a ClistView, assuming i have an "is_read" attribute in my model which is a boolean value. Im thinking an if statement somewehere, but where and how?
You can specify the template of items in clistview. Using that, one solution i can think of is using different templates based on the view status of the row…