Re: Database / Relationship question (habtm)

2009-07-21 Thread ulterior
y Posts. > > That's how I'd do it I guess. If your app is different from that > though, then your relationships would possibly be different and you'd > have to follow the previous post's advice and ask yourself those > questions. I think an ER diagram will help you a l

Database / Relationship question (habtm)

2009-07-21 Thread ulterior
I'm somewhat new to cake, this is my second app and I'm having problems with relationships. The first app I created was pretty straightforward and I had a great time writing it in cake but my database skills aren't up to par with my php! Here goes: I have three tables that contain data which I wa

Default layout loads on ajax requests

2008-11-20 Thread ulterior
Hey All, I'm really drawing a blank here! All my ajax requests are using the default layout even though I am setting the layout in the controller action. $this->layout = 'ajax'; I've also used the beforeFilter method to set it: if ($this->RequestHandler->isAjax() == true){ $this->layout =