i have a problem similar to this question
How to identify active menu link in CakePHP
i have a page in my default.ctp file in which i want to add \'active\
This is a simple logic as follows
-
Html->link('Dashboard', array('controller'=>'users','action' => 'controlpanel'), array('title' => 'Dashboard','class' => 'shortcut-dashboard'));?>
-
Html->link('Contacts', array('controller'=>'contacts','action' => 'index'), array('title' => 'Contacts','class' => 'shortcut-contacts'));?>