Re: Controller without model/table possible?

2008-02-05 Thread Tim Wild
Thanks Daniel, it's so obvious once it's been pointed out! Daniel Hofstetter wrote: > Hi Tim, > > >> Is it possible to have a controller that doesn't map directly to a >> model or database table? I want an admin section for my website where >> I can edit users and other models, it'll hook into

Re: Form Generation using form helper ..Form data not getting stored to DB.

2008-02-03 Thread Tim Wild
To add to this, if it works when you hand code the form, but not when cake generates the form, the obvious place to start is to work out how the generated form is different from the hand coded form. MrTufty wrote: > You don't mention which version you're using, but I'm going to assume > 1.2 bec

Re: HABTM - read only associations in Cake 1.2

2008-02-01 Thread Tim Wild
Does anyone have an idea about this? Or do I stop using HABTM and do it with a plain old database call? Tim W wrote: > Hi all, > > I have a HABTM relationship that's working, but I want to tell it not > to delete and create new rows in the many to many table - I only want > it to treat that tabl

Re: Saving model without saving associated models

2008-01-17 Thread Tim Wild
Thanks for the idea Chris. I've looked at this -> data in my debugger and there's no associated data, so clearing it wouldn't make any difference. After just getting my debugger working (which is far harder than it is in any other language) I can see the problem's caused by an error I made wri