Tutorial Updated ?

2007-12-22 Thread Feris Thia
Hi All, Is the tutorial already updated to version 1.2 ? It seems like current tutorial is different from what it is 2 months ago. Just come across it this morning. Regards, Feris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: how can we create datagrind in cakephp using ajax helper

2007-12-22 Thread hydra12
I need to see your code. Best would be your javascript code and your controller code. I'm on vacation for Christmas, but I'll see what I can do to help. hydra12 On Dec 22, 4:20 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > thanks hydra12, > but still i m not getting greed, > actually i

Beginners question about models

2007-12-22 Thread John
Hi, I'm knew to CakePHP and I'm having an annoying problem. I am doing a save() and this is the code being generated by the function SELECT `User`.`id`, `User`.`activated` FROM `users` AS `User` WHERE `id` = 2 AND `email` = '[EMAIL PROTECTED]' LIMIT 1 The error message I am getting is as follo

Re: Problem in FileUpload

2007-12-22 Thread Ldg27
Thanks both for the information! --~--~-~--~~~---~--~~ 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 P

Re: Multiple N to Distinct N Model

2007-12-22 Thread Santa
Thanks for all of the feedback. I wanted to post the resolution. I hate when people ask questions, get resolution, but fail to post what they did to help answer the issue for other people who might be having the same problem. So, when I baked the view, I discovered something interesting. All of t

Re: Problem in FileUpload

2007-12-22 Thread subtropolis zijn
On Dec 22, 2007 6:17 AM, francky06l <[EMAIL PROTECTED]> wrote: > > You have to specify 'type' => 'file' in the $form->create : echo $form- > >create('File', array('type' => 'file')); > Actually, it looks like that would need to be: $form->create('Flyer.file', array('type' => 'file')); --~--~---

habtm "with" association (+ bindable behaviour)

2007-12-22 Thread Adam Royle
I am using 1.2 branch from svn, and the bindable behaviour, and am trying to limit the fields returned in the dataset. I am able to specify the fields from the User and Message models, but am don't know how to specify the fields to return in the "OutgoingMessage" model, which you can see below

Re: RequestAction + Plugin = Apache Crash

2007-12-22 Thread Martin Wood-Mitrovski
thats the first thing i checked. i dont have it installed or enabled. subtropolis zijn wrote: > I just came across a couple of posts in the archive (search the archive for > "apache crash") last night discussing similar problems. Do either of you use > the Zend optimizer? Disabling this seems to

Re: Problem in FileUpload

2007-12-22 Thread francky06l
You have to specify 'type' => 'file' in the $form->create : echo $form- >create('File', array('type' => 'file')); hth On Dec 22, 7:47 am, Ldg27 <[EMAIL PROTECTED]> wrote: > I have an input file html element in my form. > file('Flyer.file', > array('label'=>__('flyer.file.label', true))); ?> > > T

Re: how can we create datagrind in cakephp using ajax helper

2007-12-22 Thread [EMAIL PROTECTED]
thanks hydra12, but still i m not getting greed, actually in the code below, Ext.data.JsonReader = function(meta, recordType){ meta = meta || {}; Ext.data.JsonReader.superclass.constructor.call(this, meta, recordType||meta.fields); }; Ext.extend(Ext.data.JsonReader, Ext.data.DataReader,

Problem in FileUpload

2007-12-22 Thread Ldg27
I have an input file html element in my form. file('Flyer.file', array('label'=>__('flyer.file.label', true))); ?> Then I need to proccess it function upload() { (...Code...) elseif(!empty($this->data)){ if ($this->data['Flyer']['file']) {

Re: Consolidating optional admin route

2007-12-22 Thread Adam Royle
Well, it doesn't make much sense if you combine the two, as you'll end up passing 'prefix' => 'admin' on the non-admin calls. This will screw around with any auth code you have that uses this prefix. I generally don't worry about routing admin functions, as it is only a few clients who see it, an

Re: ajax->link works once in IE, doesn't work after

2007-12-22 Thread francky06l
You should "replace" (not update) the div "addanother" with the content and "addanother" div. The way you do now is just updating the "addanother" div (with content + "addnother"), so I guess, after first call, you get 2 "addanother" div's id. hth On Dec 22, 6:42 am, metasan <[EMAIL PROTECTED]> w