Re: using more than one model in a add_new view

2006-05-02 Thread huy
Carlos Mauricio Samour wrote: How do I save more than one ModelB at te same time? Hi Carlos and everyone. I am totally enjoying baking with Cake and thought I could throw in my 2 cents and help out. And I hope to get an answer on some of the questions I have posted in the past :) So

Re: Are you ready for the best Cake yet?

2006-05-02 Thread saavedrajj
Congratulations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Re: created_on/by updated_on/by implementation?

2006-05-02 Thread Jeroen Janssen
Hi, Yesterday I did a small experiment with the following code that seems to work ok (created_on / updated_on implementation) http://cakephp.org/pastes/show/7b93a7004474afdece1ebd35e751f14d I don't use afterSave, but beforeValidate for two reasons: * you can use empty($this-id) to check if we

Re: created and modified fields

2006-05-02 Thread saavedrajj
nothing... even with the new cake release, created es a DATETIME type and there no files at tmp/cache/models, it's weird becuase it only happens with my database, i made the blog tutorial and created and modified fields works fine. --~--~-~--~~~---~--~~ You

Re: created and modified fields

2006-05-02 Thread saavedrajj
nothing... even with the new cake release, created es a DATETIME type and there no files at tmp/cache/models, it's weird becuase it only happens with my database, i made the blog tutorial and created and modified fields works fine. --~--~-~--~~~---~--~~ You

Re: Are you ready for the best Cake yet?

2006-05-02 Thread Gustavo Carreno
One point O, HURRAY And the site is AWSOME Keep it up guys !!! -- If you know Red Hat you know Red Hat, If you know Slackware you know Linux --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: Are you ready for the best Cake yet?

2006-05-02 Thread Andy
Excellent job on getting version 1.0 out there! Everyone who's worked on the code, site, manual, and everything else that makes CakePHP tick has done a fantastic job! Andy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

error / exception handling?

2006-05-02 Thread Dave
Does Cake have any facility for centralized handling of errors or exceptions? For example, suppose a model has a problem on an insert. I want to escape out of whatever action is going on and just print a message to the user. Is there an official way to do this?

Re: about jpgraph

2006-05-02 Thread Seth Dillingham
On 4/28/06, [EMAIL PROTECTED] wrote: I have a tricky problem about cake and jpgraph.I copy the jpgraph libs to a subdir of my cake app.But everytime I want to include some of the jpgraph lib files in my cotrollers so that I can output some images, my cake framework crashes, and all I can

Re: created_on/by updated_on/by implementation?

2006-05-02 Thread [EMAIL PROTECTED]
I don't use afterSave, but beforeValidate for two reasons: * you can use empty($this-id) to check if we are creating/updating * you can still have validation rules on the 'automaticly filled in fields' (but, now thinking about it, there is probably something conceptually wrong with this

Re: IIS Problems

2006-05-02 Thread hydra12
My mistake. The route that works is: $Route-connect('/', array('controller'='addresses', 'action'='index')); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Are you ready for the best Cake yet?

2006-05-02 Thread Marcelo Serpa
Man, that´s some AWESOME news... Just read the e-mail and excited to see the new site and download the new version! You guys are the best ;)- Marcelo (FFighter)On 5/2/06, Andy [EMAIL PROTECTED] wrote:Excellent job on getting version 1.0 out there!Everyone who's workedon the code, site, manual,

Re: IIS Problems

2006-05-02 Thread hydra12
More info (and progress). First, I discovered that you have to set the document root in your php.ini file, not just in your website config for iis. That fixed some things - styles now working where they weren't before. Also, if I type the address as index.php?url=messages, then it works.

pretty URL's problem

2006-05-02 Thread ivan
Hi everyone. I want pretty url's like this: http://localhost/cake/blog/posts/view/1 but I'm getting this: http://localhost/cake/blog/index.php/posts/view/1 with the 'index.php' in the middle I'm working locally, running Apache 2.x.x.x. The httpd.conf file reads All for AllowOverride but, since

Re: pretty URL's problem

2006-05-02 Thread Jason Lee
On 5/2/06, ivan [EMAIL PROTECTED] wrote: I'm working locally, running Apache 2.x.x.x. The httpd.conf file reads All for AllowOverride but, since the mod_rewrite module is commented, I'm using the .httaccess files Is .httaccess (note the two t's) a typo? Just making sure... :) In my

Re: created_on/by updated_on/by implementation?

2006-05-02 Thread Jeroen Janssen
Hi, I think I can also manage with using a beforeSave function (as I was already questioning that mysefl). As for filling in the data automaticly, that was exactly the idea behind it :) I have a couple of tables that users can add/edit information from, so I want a 'generic' solution that works

Re: using more than one model in a add_new view

2006-05-02 Thread [EMAIL PROTECTED]
Just wanted to say thanks for posting this. I have been beating my head against this problem for hours, as I usually prefer to make a single form that saves all associated models at once. This saved me a lot of time! I'd vote that this should probably be added to the manual or wiki somewhere,

Re: pretty URL's problem

2006-05-02 Thread gwoo
you need to uncomment the mod_rewrite in apache config and then leave line 42 commented --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com

Undefined property: EventsController::$modelClass

2006-05-02 Thread Michael Yevdokimov
Hello everybody I am holy novice with Cake. :) I am trying to make some example to digg into Cake.. I've created controller EventsController, model Event and view event/index. They are working seems fine except for one thing, which is shown below. Notice: Undefined property:

Re: using more than one model in a add_new view

2006-05-02 Thread Carlos Mauricio Samour
Exelent! Thanks for the helpfull tip! I am really impresed by the level of help and support I have received from the Cake comunnity. Another question It might be a litle off topic. If in a view I have. h1First Deposit/h1 TD? echo $html-input('Deposit/inicial');?/TD TD? echo