Re: multiple views or one massive view

2011-07-24 Thread nastya
I think it should be something like this: in your views create the views that you need, ex: game1.ctp, game2.ctp, etc... in controller: if($var==1) $this->render('game1'); if($var==2) $this->render('game2'); etc... On Jul 23, 10:49 pm, Michael Gaiser wrote: > So I am working on a site that would

multiple views or one massive view

2011-07-23 Thread Michael Gaiser
So I am working on a site that would display characters from several different games, many of which share the same types of attributes but just call them differently. I have a variable setup to tell me which game we are currently dealing with so my question is this, do I just have the view contain