Re: Dynamic form fields / multi-dimension array inside $this->data

2007-10-27 Thread MarsDev
> value="" /> > > > value="" /> > > etc. > > > Using either of the above methods, the $this->data array in your > > controller will have $this->data['start'] as an array with the same > > number of elements you specif

Dynamic form fields / multi-dimension array inside $this->data

2007-10-16 Thread MarsDev
Hi guys, I am building a training scheduling app where I am stuck at the weekly schedule list form. Each training class is a multi-week schedule, somewhere between 15-20 weeks. I have a table that keep tracks thes length of the training class. However, when it comes to the frontend rendering, I d

Re: Show a Page without a Model in cakePHP

2007-06-08 Thread MarsDev
Thanks all. JP (Quanack) and Samuel said it all. Just set the $uses class variable to NULL in corresponding model code. That's all I need. I appreciate all your comments. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Show a Page without a Model in cakePHP

2007-05-16 Thread MarsDev
Hi All, I am a newbie to cakePHP and the model-view-controller pattern. But according to the books, it seems that every page cakePHP generated has to be associated with a controller, a view and a model. Since the cakePHP URL pattern is such that "/controller/action/params", it's natural to have e