Re: 1.2 + Xampp +debug on = page loads of 10s+

2009-03-10 Thread georg
which debug level are you running? you can try http://thechaw.com/debug_kit it gives a break down of how long various parts took to run --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this

Re: I can't seem to use javascript anywhere.

2009-03-03 Thread georg
what exactly doesn't work, pls post the html rendered in your browser when you call your script. cakephp doesn't do anything to your javascript On 3 Mrz., 23:55, Turney wrote: > Hello to all, > Is it just me or is using javascript in CakePHP impossible.  Here is > what I'm trying to do and I wil

Re: Securing Edits

2009-03-02 Thread georg
very insecure way ... you have to read the user_id from the database for the comment he wants to edit there is so other secure way On 2 Mrz., 19:18, brian wrote: > On Mon, Mar 2, 2009 at 11:01 AM, Dolbex wrote: > > > Hello fellow bakers! > > > I have looked around for a while trying to find a '

Re: Editing $this->data within model's custom validation method

2009-03-01 Thread georg
works for me, are you sure the custom validation in executed? a nicer place for data manipulation is to put it in beforeSave ... On 1 Mrz., 11:35, Turgs wrote: > Hello > > In cake 1.2, I have a custom validation method. > > Within this method, if a certain condition is met, I want to force the

Re: Sorting on additional fields

2009-02-27 Thread georg
i wouldn't caluculate the average each time. add a rating field to your products tabele and add an afterSave method to your ProductReview Model which calulates the new average and changes it in the Products Table each time a review is added. This should be much faster and easyer to handle. --~--~

Re: how to fill select dropdown box with data in element?

2009-02-26 Thread georg
try if it works if your input is called religion instead of religin_id --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe fr

Re: EmailComponent only accepts one 'to' recipient?

2009-02-26 Thread georg
this is correct you can put in multiple ccs, simply send multiple emails in a loop.. http://book.cakephp.org/view/270/Class-Attributes-and-Variables On 26 Feb., 21:33, james revillini wrote: > This can't be right.  EmailComponent looks like it only accepts one > recipient for the 'to' parameter