Re: New guy needs some help

2007-11-05 Thread Chris Thompson
Thanks a ton John. I guess I missed this piece of the manual. The next thing that I am trying to figure out I think is called routing. I need to know how to get images in views to have the correct paths. --~--~-~--~~~---~--~~ You received this message because y

Re: New guy needs some help

2007-11-02 Thread John David Anderson (_psychic_)
On Nov 2, 2007, at 12:00 PM, Chris Thompson wrote: > > Where I work, we are testing out CakePHP to replace our existing > codebase. > > I have two questions. > > 1. Do all primary keys for tables have to be 'id'? By convention, yes. By configuration, no. See $primaryKey in the Model. > For $

New guy needs some help

2007-11-02 Thread Chris Thompson
Where I work, we are testing out CakePHP to replace our existing codebase. I have two questions. 1. Do all primary keys for tables have to be 'id'? 2. I have 3 tables, blogs, posts, users. blogs id user_id title subtitle posts id blog_id user_id added updated text users id username password