Re: CakePHP 1.1.2.2955 Release

2006-05-29 Thread [EMAIL PROTECTED]
Hi Marcelo de Moraes Serpa : Thanks first. I have resolved it. I used cake (version 0.10...),when found there was a new cake version,so I decided to update my cake,but I found such codes in controller would not work in the new version 1.1: $userdata=$this-users-read(); I have to use :

Re: CakePHP 1.1.2.2955 Release

2006-05-27 Thread Marcelo de Moraes Serpa
Hi leinchu,Why you can´t use? You are being too vague... please, tell us more about your problem, don´t just say I can´t get this working...Marcelo.On 5/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I try to update my cake from 0.10.8.2047_rc5 to 1.1.3.2967,Then I found I can't use

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread nate
Hey y'all, Just wanted to make a follow-up comment about something that happened this release. Actually, it's more of a confession: We did it again. We started adding new features. One thing people kept asking about was how to update multiple page elements in a single Ajax request, and up till

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread 100rk
One thing in this release is: all of Your helpers has to extend class 'Helper' (or some child of it), or You will fight error messages like: Fatal error: Call to undefined method TestHelper::afterRender() in //cake/libs/view/view.php on line 586

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread Samuel DeVore
Nate, how do you set up the returned information from the ajax-link to fill the two divs?On 5/26/06, nate [EMAIL PROTECTED] wrote:Hey y'all,Just wanted to make a follow-up comment about something that happened this release.Actually, it's more of a confession: We did it again.We started adding new

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread nate
100rk, that's impossible unless you upgraded wrong. The afterRender( ) method is defined in the Helper base class, so as long as your helper extends it properly, you should have no errors. --~--~-~--~~~---~--~~ You received this message because you are

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread nate
@Sam: Mostly just clever output buffering to capture the content between the div tags. I implemented a new callback in Helper, which AjaxHelper uses to write out the content, and then exit. It packages it as a JSON object, with an extra little snippet of code that gets evaluated on the client

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread 100rk
Thanks nate, but this wasn't my problem - it was issue of 2 people on IRC today - they has helpers which aren't extend Helper class and after upgrade to latest release they ends with above errr message. --~--~-~--~~~---~--~~ You received this message because you

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread Olivier percebois-Garve
Nate have you the controller's method going with this ? I'm probably thinking too quickly but I don't get how this method will return 2 things at once. nate wrote: Hey y'all, Just wanted to make a follow-up comment about something that happened this release. Actually, it's more of a

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread Marcelo de Moraes Serpa
Great work as always :)Keep up the awesome work!Marcelo.On 5/26/06, Olivier percebois-Garve [EMAIL PROTECTED] wrote:Natehave you the controller's method going with this ? I'm probably thinking too quickly but I don'tget how this method will return 2 things at once.nate wrote: Hey y'all, Just

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread nate
@AD7six: Thanks for keeping that up-to-date. Hopefully that'll be less of a problem when we have the Bakery set up, with a proper peer-review system. And thanks for all the time you've put in answering questions on the list. That helps out a lot.

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread Larry E. Masters aka PhpNut
Olivier,A new release has been announced, download it and the problem should be gone.-- /*** @author Larry E. Masters* @var string $userName* @param string $realName* @returns string aka PhpNut * @accesspublic*/On 5/26/06, Olivier percebois-Garve [EMAIL PROTECTED] wrote: Natehave you the

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread nate
@Olivier: The controller method is empty (so I didn't bother posting it). I the view just outputs some dummy data as a proof of concept. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread AD7six
It's the least I can do; I would prefer to see new features earlier by taking some of the load of you chaps ;). And I learn from reading the q's that are out of my current scope ( I cached some of my views for the first time today). Cheers, AD7six Off topic, chipped in for comment: There are

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread Olivier percebois-Garve
Thanks Nut but for once I did not had any problem. Just wondering how Nate's snippet should be functioning. Larry E. Masters aka PhpNut wrote: Olivier, A new release has been announced, download it and the problem should be gone. -- /** * @author Larry E. Masters * @var string

Re: CakePHP 1.1.2.2955 Release

2006-05-26 Thread [EMAIL PROTECTED]
I try to update my cake from 0.10.8.2047_rc5 to 1.1.3.2967, Then I found I can't use $controllername-modelname-findAll, What can I do ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to