Re: Struggeling with MVC and multiple views

2009-07-30 Thread Dr. Loboto
If you want to render non-default view for an action just call $this- >render('my_view_name') in controller explicitly. This way you can have more views then actions. On Jul 5, 8:45 pm, Reinder wrote: > Thanks for your response, however I don't think this solves the acl > part of it, e.g. i woul

Re: Struggeling with MVC and multiple views

2009-07-29 Thread Mateo
Any further input on this would be appreciated. I have a very similar question. On Jul 5, 7:45 am, Reinder wrote: > Thanks for your response, however I don't think this solves theacl > part of it, e.g. i would like to archive the following setup; > > main index page containing three elements, al

Re: Struggeling with MVC and multiple views

2009-07-05 Thread Reinder
Thanks for your response, however I don't think this solves the acl part of it, e.g. i would like to archive the following setup; main index page containing three elements, all with its own acl management; ->Login form ->If user is logged in show logout view (containing username + link), otherw

Re: Struggeling with MVC and multiple views

2009-07-02 Thread brian
On Thu, Jul 2, 2009 at 7:39 AM, Reinder wrote: > > Hi, > > I seem to be struggeling with possibly something so obvious, i can't > find it in the tutorials or books. Hopefully someone here is able to > enlight me. I have made a good number of sites with PHP and just moved > to cakephp as a mvc fram

Struggeling with MVC and multiple views

2009-07-02 Thread Reinder
Hi, I seem to be struggeling with possibly something so obvious, i can't find it in the tutorials or books. Hopefully someone here is able to enlight me. I have made a good number of sites with PHP and just moved to cakephp as a mvc framework. I completed the blog and auth/acl tutorials. So far I