Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jonathan Snook's Blog:
CakePHP Debug Styles
Jul 11, 2008 @ 14:33:12

Jonathan Snook hands off a handy tip for the CakePHP developers out there concerning the debugging information that can be displayed at the bottom of your application's pages.

I just wanted to document this somewhere but whenever I work on a CakePHP project, there's always the debug info that sits at the bottom of the page. It's big and bulky and once I'm off the default CakePHP styles, it's usually pretty ugly. I've done various stylings but I finally took a moment to implement a really simple idea: Fixed position the table and then use hover styles to toggle the visibility.

He includes the simple four style entries that can be used to tame this debugging information down into something a bit more useful (and less intrusive).

tagged: cakephp debug style css information output framework

Link:


Trending Topics: