I am using CakePhp 2.5, i do write a controller called certificate
, and i do not want any submenu to appear at the view for the activate
method from this controller.
I do already write an empty submenu named activate.ctp
into the elements/submenu/certificate
folder but the submenu wich appear is another submenu from another controller!?!.
<?php
$submenu = Configure::read('App.Menu.children.service.children.certificate.children');
Configure::write('App.Menu.Submenu', array('class'=>'nav nav-tabs','children'=>$submenu));
How can i control wich submenu appear ?