I accomplish this by setting a different layout in app_controller.php Of course you need to make a new layout in views/layouts/admin.ctp, which would implement your admin menu
class AppController extends Controller { // add helpers, components, etc in here function beforeFilter() { if (!empty($this->params[CAKE_ADMIN])){ // set our layout based on admin routing vars $this->layout = "admin"; } } } Hope that helps! Adam On Aug 17, 9:27 am, rtanz <[EMAIL PROTECTED]> wrote: > hi i am trying to > implementhttp://bakery.cakephp.org/articles/view/css-menu-helper > into my project. > > I would like to have 2 versions of this menu, one available in the > front end of the site and another version for admin use. I am using > cake's admin routing for my admin section. > > I would like some help regarding how to go about achieving this > solution thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---