WTH: CakePHP coder

2009-03-15 Thread Chris Mc
I need a few simple changes to my CakePHP app. Should take 1hr (max), this would include online chat (IM) time to explain the problem and get the code done. Please reply with your availability and hourly rate. Work must be completed in the next 36hrs. --~--~-~--~~~---

What's wrong with my associations ?

2009-02-13 Thread Chris Mc
OK, so I thought I had the association (ie relationship) part pretty much sorted, and I'm following the logic that I used before when creating a State/City example and it's working great most of the time. But I have this problem, and I'm not sure why: In English terms, a Business can have an Acco

Re: Newbie needs help with CakePHP / ModelBaker

2009-02-04 Thread Chris Mc
> waves the don'tknowwhatI'mdoingandI'mjustguessingwhattodo flag rather > clearly. Which is why I've been admitting that from the start. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to th

Re: Newbie needs help with CakePHP / ModelBaker

2009-02-04 Thread Chris Mc
> I think you need to step out of ModelBaker and go over the cakephp > docs, specifically the small Blog tutorial. > > http://book.cakephp.org/view/219/Blog > > hth > > jon Hi Jon, Thanks, but it doesn't really help, but it seems to be the standard answer that everyone is rolling out lately :(

Re: Newbie needs help with CakePHP / ModelBaker

2009-02-03 Thread Chris Mc
OK, I have done the pages_controller work and the views/pages/home.ctp is there and working but still not producing data and I still can't figure out what the proper syntax is. I can understand that the router code is saying that the display function in restaurants_controller.php should be used t

Re: Newbie needs help with CakePHP / ModelBaker

2009-02-02 Thread Chris Mc
> Colour me confused, then. I have no idea how one would get Cake to use > a view file at views/index.ctp short of changing the controller's > $viewPath. Or, maybe this is something new to me. Mate, it's not you it's me . I'm simply guessing at what's working here to get my app to work. I ju

Re: Newbie needs help with CakePHP / ModelBaker

2009-02-02 Thread Chris Mc
> > Yes, I'm getting an empty table, the for loop just doesn't execute at > > all, but all the other code works (even the stuff after the for) > > OK, so $restaurants is empty. Yes, I understand that bit :) > > Yes, I've been trying to do that.  The controller action is a function > > defined i

Re: Newbie needs help with CakePHP / ModelBaker

2009-02-02 Thread Chris Mc
Hi brian, > Are you getting an empty table? Or, is Cake running into an error and > not continuing to output anything? Yes, I'm getting an empty table, the for loop just doesn't execute at all, but all the other code works (even the stuff after the for) > If the former, it's likely that you hav

Newbie needs help with CakePHP / ModelBaker

2009-02-02 Thread Chris Mc
Hi, I'm stuck :( I have been using ModelBaker to create my app and it went extremely well until I wanted to start customising the code. I'm learning CakePHP and MVC at the moment, but I've exceeded my curent knowledge (which is pretty easy at the moment). Anyway, I've been trying to customise t