Return to Snippet

Revision: 16643
at August 11, 2009 00:35 by benjaminpearson


Initial Code
<ul>
	<li class="<?php if($this->viewVars['page'] == 'home') { echo 'active'; } ?>"><?php echo $html->link('Home', '/') ?></li>
</ul>

Initial URL

                                

Initial Description

                                

Initial Title
CakePHP highlight active menu item for page

Initial Tags
textmate, cakephp

Initial Language
Other