On 6/29/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>
> On 6/29/07, Sonic Baker <[EMAIL PROTECTED]> wrote:
> > Just wondering how you would plan to control the visibility of the extra
> > admin links?
> > Keeping in mind that best practice is to minimise logic in the views,
> would
> > you pass the links in through the controller, render a different menu
> > element, or some other way?
> >


Sounds good to me. That's the way I was thinking of doing it myself but
thought I'd ask just in case. Along the same lines, if I wanted a different
theme for the admin I was thinking of setting $this->layout = 'admin' in the
AppController. How would that sit with yall?
If this is the way to go, I wonder would it be best just to set it in the
var $layout declaration or in beforeRender() function?

Cheers,

Sonic

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to