Get Page Type function?5 users found helpful
I want to dynamically define the css class of the body tag by pagetype to give control over css in different pages.
I was looking for something like:
<body class="<?php echo $this->getAttribute(pageType); ?>">
But it's obviously not that simple - any ideas?
Don't try acting like it's easy to find things in that unsearchable, loosely documented, poorly structured jumble.
Thanks for the answer, though, it's exactly what I needed!