Re: Which is the better IDE for cakePHP?

2011-09-27 Thread aya
hi i am begining cake T but i need IDE for detect methot of class that have 2 level extend calss class1 extends class2{ } calss class2 extends class3{ } calss class3 { function method1(){ your code is here } } i need IDE that detect method1 from class1 object -- Our newest site

Re: URL Rewritting / Configuration of RC 2.0.0 RC2

2011-09-27 Thread WebbedIT
This is not a Cake 2 issue, would happen with 1.3 too. You've quite rightly installed the application in a subfolder of your apache web folder (/cake) so have two options. Change the base dir in the htaccess file or what most people do is setup a virtul host so you can access your application at

Re: including google maps

2011-09-27 Thread WebbedIT
What line of code is generating the 'google undefined' error? I can't see a google variable in the code of your OP, only GoogleMapDiv and GoogleMap. HTH, Paul On Sep 26, 8:22 pm, Tomfox Wiranata tomfox.wiran...@gmail.com wrote: hi paul, thanks for answering. you may have a point ;) i use

Re: Can't get the required class in form

2011-09-27 Thread WebbedIT
You have overwritten the div with the 'div'='row' attribute. HTH, Paul. On Sep 26, 4:54 pm, heohni heidi.anselstet...@consultingteam.de wrote: Hi, I have this in my model, var $validate = array(         'name' = array(             'required' = array('rule' = 'notEmpty', 'message' =

Re: Which is the better IDE for cakePHP?

2011-09-27 Thread Muhaimen Ezabbad
I am using netBeans on Mac. It's the best IDE I have seen for php. Give it a try. Just go to google and search for netBeans. On Sep 27, 2011 8:24 AM, aya ayoob.khodad...@gmail.com wrote: hi i am begining cake T but i need IDE for detect methot of class that have 2 level extend calss class1

Data Not Saving Saving to db

2011-09-27 Thread nobles
Hi, I'm new to cake and have only have a fundamental understanding of php. I've been watching video and practicing here and I have a issue I am running into. in the code below, everything seems to excite correctly except the function is not adding the text from my entries in the form to the db.

Re: Data Not Saving Saving to db

2011-09-27 Thread Teddy Zeenny
To easily identify the error, you can echo pr($this-data) in the add action. Could it be that the attributes should be lower case ? i.e. $this-Form-input('title'); Teddy On Tue, Sep 27, 2011 at 4:43 AM, nobles stillgrow...@gmail.com wrote: Hi, I'm new to cake and have only have a fundamental

Re: Data Not Saving Saving to db

2011-09-27 Thread euromark
also pr() the $this-Modelname-validationErrors: pr($this-Modelname-validationErrors); On 27 Sep., 12:01, Teddy Zeenny teddyzee...@gmail.com wrote: To easily identify the error, you can echo pr($this-data) in the add action. Could it be that the attributes should be lower case ? i.e.

Re: Model update modifies fields not present in data array

2011-09-27 Thread dtemes
It's part of the same query, no after/beforeSave running. The model in question is the User model. These are my steps 1. Read the logged in user (Lets call it UserA) 2. Select another user from the user table to update (UserB). 3. Present a form with just a few fields that I need to update 4.

Re: Can't get the required class in form

2011-09-27 Thread euromark
usually required is also added if your DB field is default NOT NULL if it is DEFAULT NULL it should have no required class On 27 Sep., 09:28, WebbedIT p...@webbedit.co.uk wrote: You have overwritten the div with the 'div'='row' attribute. HTH, Paul. On Sep 26, 4:54 pm, heohni

Re: Getting Bake to work on Linux

2011-09-27 Thread LipeDjow
Also check if php5-mysql is enabled for the php CLI. LipeDjow -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this

Trying to convince management that Open Source is a good thing

2011-09-27 Thread Yves S. Garret
Sorry about this not being CakePHP specific, but rather something being tangentially related to CakePHP. However, in my organization, there is a serious issue with convincing management that Open Source is a good idea. As a result we are stuck with using Windows servers and _forced_ to use

Re: Trying to convince management that Open Source is a good thing

2011-09-27 Thread Yves S. Garret
Also, what was your experience in a similar situation? How did you handle it? We're a big organization with at least 20,000 people. On Sep 27, 10:40 am, Yves S. Garret yoursurrogate...@gmail.com wrote: Sorry about this not being CakePHP specific, but rather something being tangentially

Re: Trying to convince management that Open Source is a good thing

2011-09-27 Thread flo.kl...@googlemail.com
The only argument they will listen to (and should) is money! Here are some points where they would save money with: - No Licence costs - Faster and easier developmnent process - More secure environment Thats it from me, but im sure there will be many more posts. -flosky Yves S. Garret

Re: Problem importing Comments Behavior Class in Controller class

2011-09-27 Thread papac...@gmail.com
I have downloaded it from your Github. And import it file by file into my dummie project. On Sep 26, 2:12 pm, José Lorenzo jose@gmail.com wrote: How did you download the project, and where did you put the files? -- Our newest site for the community: CakePHP Video Tutorials

Accessing $this-request in Model Cakephp 2.0 Unit Testing

2011-09-27 Thread badben
I am trying to build a test for a custom validation in Cakephp 2.0 in the AppModel The problem is that the validation method uses values from $this-request to compare different fields, i.e check that password == comfirm_password. How do I create a test for this, i.e how do I set the value of

How would I do this project best in CakePHP?

2011-09-27 Thread Yves S. Garret
Hi all, I'd like some advice/direction on this. I'm fairly new to Cake, so this would be very much appreciated. Basically, I have this assignment at work (oh yeah, CakePHP will be our framework as we're going along in our department, something I'm not 100% familiar), where you have a website

Re: Data Not Saving Saving to db

2011-09-27 Thread Bryson Nobles
thanks all - turned out that Teddy was right on the money - thanks a million On Tue, Sep 27, 2011 at 6:50 AM, euromark dereurom...@googlemail.comwrote: also pr() the $this-Modelname-validationErrors: pr($this-Modelname-validationErrors); On 27 Sep., 12:01, Teddy Zeenny

HTML/CSS in Cake

2011-09-27 Thread nobles
Are the any differences in how HTML/CSS is implemented in CakePHP? I ask, and the reason I am now teaching myself the language, is because I outsourced some work and I have a decent working product but the interface looks like my 2 year old did it. Any thoughts? Any recommended resources to

Re: HTML/CSS in Cake

2011-09-27 Thread Sam Sherlock
Html css are the same. Your html will be in ctp files in the views folder. You can use the html helper and the form helper eases life a good deal. Link your css using the html helper by passing the file name to the method and have the file in the webroot dir. It's common for noobies to get

Re: Trying to convince management that Open Source is a good thing

2011-09-27 Thread Thomas Ploch
Well, in a company with 20.000 employees I can imagine that the License fees for Windows Servers (there probably are a lot of them) and MSSQL databases (There probably are a lot of them too) are pretty high. So my main argument would be the financial savings in licensing costs (running costs) that