Conditional Styling of List View

4 posts by 2 authors in: Forums > CMS Builder
Last Post: March 4, 2010   (RSS)

By InHouse - March 3, 2010

A client has asked that any articles shown in their backend List View have that row coloured differently based on whether the article is marked as Hidden or not. I can see dimming the text on that row if an article is Hidden. Makes sense.

Has anyone tackled this? Or can anyone point me in the right direction to accomplish this?

Thanks
Jayme

Re: [InHouse] Conditional Styling of List View

By Chris - March 3, 2010 - edited: March 4, 2010

Hi Jayme,

Here's a quick little plugin which dims the text colour of hidden records. I hope this helps! :)

Please let me know if you have any questions.
All the best,
Chris
Attachments:

greyhiddenrecords.php 1K

Re: [chris] Conditional Styling of List View

By InHouse - March 3, 2010 - edited: March 3, 2010

Fantastic Chris. Now I just need them to permit me to update to the latest CMSB build. This should encourage that.

Thank you!
Jayme

PS: A note to anyone using this great (and highly functional) plug in in the future - be sure to close the PHP tag on the last line of the file.