Re: CakePHP 1.3.7 released

2011-01-21 Thread NdJ
On Jan 22, 12:23 am, mark_story wrote: > On Jan 21, 7:12 am, NdJ wrote: > > > Hi Mark - loads and loads of kudos for the ever continuing progress of > > CakePHP - it's a framework I enjoy immensely. > > > Following on with the comments about comments for documentation:- > > > > > > Leave a commen

Problem with copeied folder

2011-01-21 Thread Gopinath T.M
i am working cakephp application. that folder name(application foldername) - sample This is orginal url of application - http://prog.appps.com/sample i like to maintain this application also another url - http://prog.appps.com/sample1 i just simply copy the sample to sample1... Actually, here

Re: Hashed password displaying

2011-01-21 Thread eldorado2768
Thanks for all the suggestions. I think I found the answer. It was showing asterisks but it was showing 36 asterisks not 5. In any case, I did some poking around on the internet as I seem to have to do fairly frequently while learning cakephp and finally found something that can blank out a fie

Re: Help with CakePHP tutorial

2011-01-21 Thread Ryan Schmidt
For myself, I am starting to learn CakePHP after having already used PHP for 8 years and created and maintained dozens of web sites with it. I would not necessarily recommend trying to learn PHP at the same time as CakePHP. My advice would be to become intimately familiar with PHP before attempt

Re: making an online exam module

2011-01-21 Thread Ryan Schmidt
On Jan 21, 2011, at 11:45, jugal wrote: > i want to make online examination website using Cakephp ... > any suggestions Yes: do it! :) Come back with specific questions if you have them. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the n

Re: How to display a BLOB object in VIEW

2011-01-21 Thread Ryan Schmidt
I don't remember specifically which article I was looking at at the time; Google "blob vs filesystem" to find many discussions about this. On Jan 21, 2011, at 06:52, Karthikeyan P wrote: > @Ryan can you send me the links where you have the literature about BLOB v > putting right under the surfa

Re: Auth flash errors appearing in IE when not expected

2011-01-21 Thread Dr. Loboto
Yes, it is standard approach to disable cache for logged users. This list have a lot of questions about IE so it's not true that "it is not mentioned that IE can have issues". On 21 янв, 18:41, chris wrote: > Thanks for your reply. > > I think what I will do is to use the cache disable method fo

Re: Hashed password displaying

2011-01-21 Thread Jeremy Burns | Class Outfit
Why bother with fancy logic? It's always going to be an obscure, meaningless set length string, so just display something like "" in the view. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 22 Jan 2011, at 00:46, eldorado2768 wrote: > Okay, that mak

Re: Question about foreign key conventions

2011-01-21 Thread opike
The foreign keys were to the same table... I ended up breaking up each row into multiple rows. On Jan 21, 3:16 pm, Steve wrote: > Presumably the foreign keys are all keys to different tables ? > > If this is the case then it is usual to name the key after the table it > references. > > So table f

Re: CakePHP 1.3.7 released

2011-01-21 Thread Ryan Schmidt
My feeling, with regard to document like that at PHP.net, is that comments are a poor substitute for actually being able to edit the document yourself -- which with CakePHP you already can and will still be able to do. So I don't see comments as necessary. -- Our newest site for the community

Re: $uses, Containable Behavior, and Model relationship-General question of best practices

2011-01-21 Thread cricket
On Fri, Jan 21, 2011 at 7:29 PM, roundrightfarm wrote: > I'm just learning cake and am trying to better understand the > relationship between and appropriate use of the $uses variable in a > controller, the Containable Behavior, and of the different Model > relationships ($hasOne, $belongsTo, etc.

Re: Has anyone connected cakePHP to SQL Azure?

2011-01-21 Thread cricket
On Fri, Jan 21, 2011 at 1:40 PM, gobb0 wrote: > Debating whether or not to use cakePHP or Ruby on Rails for a website > I intend to build. So far, I am finding more examples of RoR > connecting to SQL Azure. Given that Azure is relatively new, does this > mean that RoR is evolving faster than Cake

Re: Tree Behavior

2011-01-21 Thread cricket
On Fri, Jan 21, 2011 at 3:38 PM, Tilen Majerle wrote: > Tree bahavior has nothing with tree helper if i'm right... The helper is designed to make it easier to deal with the data from the behavior. @Meroe: You should be calling generate() in the view, not the controller. -- Our newest site for

Re: Querying the database in a view

2011-01-21 Thread cricket
On Fri, Jan 21, 2011 at 2:35 PM, Unflexible wrote: > 2011/1/21 AD7six : >> On Jan 21, 12:35 am, Unflexible wrote: >> Hideous. > > Sure, but it works So does ASP.NET (or so I've heard) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePH

Re: CakePHP 1.3.7 released

2011-01-21 Thread cricket
On Fri, Jan 21, 2011 at 11:23 AM, mark_story wrote: > > Comments are a fertile ground, and sometimes they are fertile for > infestation of incorrect information.  Unfortunately, the large bulk > of comments in the book are this kind.  It pains me to say that, as > originally the hope was that they

Re: Having a little trouble with url rewriting on production server --psybear

2011-01-21 Thread cricket
On Fri, Jan 21, 2011 at 4:24 AM, psybear83 wrote: > Hey everybody > > I never had to deploy a CakePHP app to a production server before, and > now I'm a bit stuck. > > While my app works like a snap on my development machine, URL > rewriting doesn't seem to work on the production server. This mean

Re: Hashed password displaying

2011-01-21 Thread eldorado2768
Okay, that makes sense. Now how do I make it blank in the view? Do I use the set command in the controller? -- 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 re

Re: RESTful webservice in CakePhp : How do I handle a gzipped http request

2011-01-21 Thread cricket
On Thu, Jan 20, 2011 at 7:07 PM, Mike Bates wrote: > I have a cakephp application setup to handle REST requests, I have > also got a salesforce app that posts requests to cakephp so updates in > salesforce are copied over to my main application. > > This all works fine if I use the standard reques

Re: Check if a record has at least one relation with another model

2011-01-21 Thread cricket
On Fri, Jan 21, 2011 at 5:41 AM, Ernesto wrote: > Hello. > > in my app_model i wrote a simple function that takes 2 arguments: > - an id, pointing to any record in the current model > - an associated model > > this function checks if the selected record has any relation with the > selected model.

$uses, Containable Behavior, and Model relationship-General question of best practices

2011-01-21 Thread roundrightfarm
I'm just learning cake and am trying to better understand the relationship between and appropriate use of the $uses variable in a controller, the Containable Behavior, and of the different Model relationships ($hasOne, $belongsTo, etc.) It seems they all influence the scope of a Model->find() call

Re: Hashed password displaying

2011-01-21 Thread euromark
thats not possible you simply let the user chose to submit a "new" password no need to display the old one (besides the fact that this is not possible and should not be) - its much safer anyway! On 22 Jan., 00:13, Andras Kende wrote: > I don't think a hashed password is reversible. > if you real

Re: Hashed password displaying

2011-01-21 Thread Andras Kende
I don't think a hashed password is reversible. if you really need the to show cleartext password you could add another field into the db table like password_cleartext and keep it there Andras Kende http://www.kende.com On Jan 21, 2011, at 4:59 PM, eldorado2768 wrote: > If I setup a user an

Has anyone connected cakePHP to SQL Azure?

2011-01-21 Thread gobb0
Debating whether or not to use cakePHP or Ruby on Rails for a website I intend to build. So far, I am finding more examples of RoR connecting to SQL Azure. Given that Azure is relatively new, does this mean that RoR is evolving faster than CakePHP? Appreciate it. -- Our newest site for the commun

Re: making an online exam module

2011-01-21 Thread jugal
i want to make online examination website using Cakephp ... any suggestions -- View this message in context: http://cakephp.19694.n2.nabble.com/making-an-online-exam-module-tp3632511p5948644.html Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community

Setting cookies or sessions in afterFilter()

2011-01-21 Thread popcorn
Hi There seems to be a problem setting cookies or sessions in the afterFilter(). I have selected controller/action combinations making use of the afterFilter() in order to set a cookie. If you then go another page that doesn't use the afterFilter() and try to read the cookie, no problem. However,

What are your personal conventions for Helper names and using helper classes?

2011-01-21 Thread connrs
Hi guys I suppose this is my first ever post on any CakePHP related forum/group so get the unicorns and badger porn out. I've been actively using CakePHP since 1.1 and have generally beaten and thrashed the framework into doing what I liked until progressively it has become the shiny framework

Hashed password displaying

2011-01-21 Thread eldorado2768
If I setup a user and create a password, the password is hashed using cakephp's default SHA1 hash algorithm and saved in the user table without any problem. However, when I want to view or edit the record, the entire 36 char password is being displayed in the password field. Is there any way to rev

Re: Question about foreign key conventions

2011-01-21 Thread Steve
Presumably the foreign keys are all keys to different tables ? If this is the case then it is usual to name the key after the table it references. So table foo may contain... bar_id ( reference to id field of table bar ) baz_id I reference to id field of table baz ) etc On Fri, 2011-01-21 a

Re: Tree Behavior

2011-01-21 Thread Meroe Meroe
You are correct, but previous questions mine and (google searches) led me to that. I'm stuck. On Fri, Jan 21, 2011 at 3:38 PM, Tilen Majerle wrote: > Tree bahavior has nothing with tree helper if i'm right... > -- > Lep pozdrav, Tilen Majerle > http://majerle.eu > > > > 2011/1/21 Meroe Meroe >

Re: Creating a Preview page

2011-01-21 Thread cricket
On Fri, Jan 21, 2011 at 9:05 AM, WhyNotSmile wrote: > In my admin area, I would like to give the user the option to > 'Preview' the page they are creating or editing.  I just can't quite > get my head around how to do it, so wondered if anyone can advise me. > > Ideally, here's what I'd like: the

Re: Model query for controller to view results

2011-01-21 Thread cricket
On Fri, Jan 21, 2011 at 4:06 AM, OldWest wrote: > Ok. Can you recommend a proper way of doing this or show a tutorial on this? > I read the manual on fetching data, but it does not give examples of > controllers using model queries (that I could find). It looks as if you're trying to fetch record

Question about foreign key conventions

2011-01-21 Thread opike
I have a table 'foo' that contains foreign key pointers to a table 'bar' in a 1 to many relationship, but the foreign keys are listed as columns: Table Foo: primary_key name bar_FK_1bar_FK_2 bar_FK_3 bar_FK_4 ---

Re: Tree Behavior

2011-01-21 Thread Tilen Majerle
Tree bahavior has nothing with tree helper if i'm right... -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/1/21 Meroe Meroe > Hello folks, > > I'm having a bit of an issue understanding the tree behavior. I have a > tasks table with fields such as name,status,date_due etc... > > The outp

Tree Behavior

2011-01-21 Thread Meroe Meroe
Hello folks, I'm having a bit of an issue understanding the tree behavior. I have a tasks table with fields such as name,status,date_due etc... The output I'm getting right now is great except I want to display additional data columns. Current Output: - Task 1 - Task 1 - child -

Re: Querying the database in a view

2011-01-21 Thread Unflexible
2011/1/21 AD7six : > On Jan 21, 12:35 am, Unflexible wrote: > Hideous. Sure, but it works -- 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.

Using ReST API

2011-01-21 Thread John Maxim
Hi everyone, I have set up this rest datasource, so now I need to place some functions which are to: 1)Send data to the Rest API 2)Receive data from the Rest API May I know where do I place the dynamic string variables such as, userid, sessionid, itemid so that it can be sent to to the API which

Re: Model function for Controller :: how do I call it in the Controller?

2011-01-21 Thread Andras Kende
Thats correct, but paginate has to be in the controller as far as I know :) Andras Kende http://www.kende.com On Jan 21, 2011, at 12:56 PM, OldWest wrote: > I'm not sure where this thread is going, but it just seems logical to write > all data queries in the Model and call them in the Controll

Re: Model function for Controller :: how do I call it in the Controller?

2011-01-21 Thread OldWest
I'm not sure where this thread is going, but it just seems logical to write all data queries in the Model and call them in the Controller for view preparation. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://a

RE: Model function for Controller :: how do I call it in the Controller?

2011-01-21 Thread Dave Maharaj
Your supposed to clutter up the "Models" controller (hence the name) says get me this go find me that with simple calls $this->Model->getRecent(); You know that get Recent will..hmmm get recent yeah that's it and the model does all the work getting the recent whatevers. From: OldWest [mail

Re: Model function for Controller :: how do I call it in the Controller?

2011-01-21 Thread John L
Yes I know! But why clutter up the Controller with these kind of queries?? because the query is associated with a controller action On Fri, Jan 21, 2011 at 1:11 PM, OldWest wrote: > Yes I know! But why clutter up the Controller with these kind of queries?? > > -- > Our newest site for the

Re: Model function for Controller :: how do I call it in the Controller?

2011-01-21 Thread OldWest
I am able to now get the correct results by doing this: ... $active = $this->Plan->getActive(); $this->set('plans', $active); ... but now my paginate is now working properly. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questio

Re: Model function for Controller :: how do I call it in the Controller?

2011-01-21 Thread OldWest
Yes I know! But why clutter up the Controller with these kind of queries?? -- 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

Re: Model function for Controller :: how do I call it in the Controller?

2011-01-21 Thread John L
3.7.3.1.1 find('first') in the manual gives a perfect example. this is all happening in the controller. On Fri, Jan 21, 2011 at 1:08 PM, John L wrote: > find() is a model function. so if the model name was Post you would call

Re: Model function for Controller :: how do I call it in the Controller?

2011-01-21 Thread John L
find() is a model function. so if the model name was Post you would call it like this: $this->Post->find() On Fri, Jan 21, 2011 at 12:49 PM, OldWest wrote: > I cannot resolve how to call a model function into a controller. I've been > through too much documentation to count. Maybe I am wrong in

Model function for Controller :: how do I call it in the Controller?

2011-01-21 Thread OldWest
I cannot resolve how to call a model function into a controller. I've been through too much documentation to count. Maybe I am wrong in what I am trying to do altogether? Continue to get MySQL errors. *Plan :: Model:* function getActive() { $findParameters = array( 'limit' => 10,

Re: Paginate HABTM results ?

2011-01-21 Thread Devario Johnson
look up $recursive in the cookbook. it should tell you alot about that. Also, once you have looked that up you should be able to paginate with the basic $this->paginate('Model' array('field conditions')); -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org C

Setting up alternative email system

2011-01-21 Thread WhyNotSmile
A client has a site which is hosted on 1and1, and built with CakePHP. Emails from the site are being blocked by some providers, due to issues with 1and1. He has asked me to look into hosting the email side of things separately (he doesn't want to move the actual site hosting). Has anyone done thi

Re: CakePHP 1.3.7 released

2011-01-21 Thread mark_story
On Jan 21, 7:12 am, NdJ wrote: > Hi Mark - loads and loads of kudos for the ever continuing progress of > CakePHP - it's a framework I enjoy immensely. > > Following on with the comments about comments for documentation:- > > > > > Leave a comment with your thoughts on the proposed documentation

Re: Having a little trouble with url rewriting on production server --psybear

2011-01-21 Thread Joshua Muheim
Nobody's got an idea? :-( This is quite frustrating. On Fri, Jan 21, 2011 at 10:24 AM, psybear83 wrote: > Hey everybody > > I never had to deploy a CakePHP app to a production server before, and > now I'm a bit stuck. > > While my app works like a snap on my development machine, URL > rewriting d

Re: Do I still need Model::$whitelist when using the Security component? --psybear

2011-01-21 Thread Joshua Muheim
Interesting point! At the moment I don't have any such features, so I guess I remove my $whitelists and think about this as soon as required. :-) Have a nice weekend, Mark! On Fri, Jan 21, 2011 at 4:22 PM, euromark wrote: > yes, that should be enough :) > > but what about ajax forms or dynamical

Re: Do I still need Model::$whitelist when using the Security component? --psybear

2011-01-21 Thread euromark
yes, that should be enough :) but what about ajax forms or dynamically added fields? those cannot be used with sec component in those cases you will have to manually secure your forms On 21 Jan., 12:57, psybear83 wrote: > Hey everybody > > to my knowledge, the $whitelist attribute tells a model

Re: What are your personal conventions for Helper names and using helper classes?

2011-01-21 Thread euromark
of course 100% $this->Helper a) cleaner b) fit for 2.0 :) On 21 Jan., 15:53, connrs wrote: > Hi guys > > I suppose this is my first ever post on any CakePHP related forum/group so > get the unicorns and badger porn out. I've been actively using CakePHP since > 1.1 and have generally beaten and

RE: Querying the database in a view

2011-01-21 Thread Dave Maharaj
Why from the view? Why not just the correct Controller:: set('data' , $this->Model>getData()); and in the model:: function getData() { return $this->MyModel->find('all'); } -Original Message- From: AD7six [mailto:andydawso...@gmail.com] Sent: Friday, January 21, 2011 8:41 AM To: Ca

Re: JQuery and CakePHP 1.3

2011-01-21 Thread Steve
Found the fix myself... truth is it WAS working. The difference is that I had to place a # in front of the ID for Jquery on the 'update' option... so for prototype the call is echo $this->Js->link('up', array( ... ), array('update'=>'vote_'. $comment['Comment']['id'])); For JQuer

Creating a Preview page

2011-01-21 Thread WhyNotSmile
In my admin area, I would like to give the user the option to 'Preview' the page they are creating or editing. I just can't quite get my head around how to do it, so wondered if anyone can advise me. Ideally, here's what I'd like: the user is editing a page in the admin area, and at any time can

Re: How to display a BLOB object in VIEW

2011-01-21 Thread Karthikeyan P
Thanks for the insights ... Filesystem was infact working perfect for me.Was wondering how efficient BLOB makes my application. The thread removes a lot of wrong perceptions about BLOB @Ryan can you send me the links where you have the literature about BLOB v putting right under the surface Than

Re: Auth flash errors appearing in IE when not expected

2011-01-21 Thread chris
Thanks for your reply. I think what I will do is to use the cache disable method for anything when the user is logged in. That way the other pages, which willl just be static information pages, can be cached by the browser. Is it a standard thing that cakePHP users find themselves doing? It seems

RESTful webservice in CakePhp : How do I handle a gzipped http request

2011-01-21 Thread Mike Bates
I have a cakephp application setup to handle REST requests, I have also got a salesforce app that posts requests to cakephp so updates in salesforce are copied over to my main application. This all works fine if I use the standard request from saleforce, but there is an option to compress the requ

Re: CakePHP 1.3.7 released

2011-01-21 Thread AD7six
On Jan 21, 1:12 pm, NdJ wrote: > Hi Mark - loads and loads of kudos for the ever continuing progress of > CakePHP - it's a framework I enjoy immensely. > > Following on with the comments about comments for documentation:- > > > > > Leave a comment with your thoughts on the proposed documentation

Re: CakePHP 1.3.7 released

2011-01-21 Thread NdJ
Hi Mark - loads and loads of kudos for the ever continuing progress of CakePHP - it's a framework I enjoy immensely. Following on with the comments about comments for documentation:- > > > Leave a comment with your thoughts on the proposed documentation changes. > > > Ability to download in other

Re: Querying the database in a view

2011-01-21 Thread AD7six
On Jan 21, 12:35 am, Unflexible wrote: > Hello. > > You can create own Helpers and used needed queries to model through them > > http://book.cakephp.org/view/101/Creating-Helpers > class MyHelper { > >    public function myQuery() { >         App::import('Model', 'MyModel'); >         $this->Men

Do I still need Model::$whitelist when using the Security component? --psybear

2011-01-21 Thread psybear83
Hey everybody to my knowledge, the $whitelist attribute tells a model, which attributes should be writable when it comes to a save. I'm using the Security component which ensures that nobody tampers with my forms (e.g. adding a new input field), so I guess I don't need $whitelist anymore, right?

export to excel openable in Microsoft Excel and Open office

2011-01-21 Thread rakeshyadav rakeshyadav
Hi all, i am trying to export my data to excel in binary xls format using below helper http://bakery.cakephp.org/articles/view/excel-xls-helper * * The difference compared with the original one is this helper * actually creates an xml which is openable in Microsoft Excel. * * Written by Y

Check if a record has at least one relation with another model

2011-01-21 Thread Ernesto
Hello. in my app_model i wrote a simple function that takes 2 arguments: - an id, pointing to any record in the current model - an associated model this function checks if the selected record has any relation with the selected model. if yes, it will return TRUE. since i prefer to use standard ca

Re: Model query for controller to view results

2011-01-21 Thread Amit Badkas
Hi, I think you need to set parameters for pagination, please have a look at http://book.cakephp.org/view/1232/Controller-Setup Hope this helps. Amit Badkas PHP Applications for E-Biz: http://www.sanisoft.com On Fri, Jan 21, 2011 at 2:36 PM, OldWest wrote: > Ok. Can you recommend a proper

Re: JQuery and CakePHP 1.3

2011-01-21 Thread Steve
Thanks for this Marcin, but unfortunately it does not really answer my question as it is for Cake 1.2 and not Cake 1.3. In cake 1.3, the Ajax and Javascript helpers have been deprecated in favour of a single Js helper. The Js helper can use Prototype, JQuery and Mootools libraries out of the box

Having a little trouble with url rewriting on production server --psybear

2011-01-21 Thread psybear83
Hey everybody I never had to deploy a CakePHP app to a production server before, and now I'm a bit stuck. While my app works like a snap on my development machine, URL rewriting doesn't seem to work on the production server. This means: everything works fine as long as I access the app with myapp

Re: Model query for controller to view results

2011-01-21 Thread OldWest
Ok. Can you recommend a proper way of doing this or show a tutorial on this? I read the manual on fetching data, but it does not give examples of controllers using model queries (that I could find). -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out

Re: Model query for controller to view results

2011-01-21 Thread Amit Badkas
Hi, You are fetching active records in $active variable but that variable is not being used anywhere. That's why the paginated results are not affected. Amit Badkas PHP Applications for E-Biz: http://www.sanisoft.com On Fri, Jan 21, 2011 at 2:27 PM, OldWest wrote: > Ok the error is gone now

Re: Model query for controller to view results

2011-01-21 Thread OldWest
Ok the error is gone now, but for some reason the results are not being effected? I am calling it like so in my Controller: function search() { $this->Plan->recursive = 2; //*** Modified by Jason: Recursion needs to be corrected with better method. ***// *$active = $this->Plan->getActive();* $t

Re: Model query for controller to view results

2011-01-21 Thread OldWest
Still throwing the same error. I tried several variations: function getActive() { $conditions = array( 'limit' => 10, array('order' => array('monthly_cost ASC')), 'conditions' => array('PlanDetail.active' => 1) ); return $this->find('all', compact('conditions')); } --

Re: Model query for controller to view results

2011-01-21 Thread Amit Badkas
Hi, Following should be the correct way function getActive() { $findParameters = array( 'limit' => 10, 'order' => array('PlanDetail.monthly_cost' => 'asc'), 'conditions' => array('PlanDetail.active' => 1) // Gets all active=1 plan_details. ); return $this->fin

Please help brainstorm ideas for consideration in future cake versions

2011-01-21 Thread keymaster
CakePHP is probably the best blend of functionality and intuitiveness of any framework out there. It has the best community The people are outstanding, the code is top notch, the documentation is a dream, the support sites are fantastic. The cake dev team are all geniuses. The leadership is solid

Re: Model query for controller to view results

2011-01-21 Thread Jeremy Burns | Class Outfit
Your order statement is incorrect. Try this instead: array('order' => array('monthly_cost ASC')) Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 21 Jan 2011, at 08:34, OldWest wrote: > I am continuing to get an SQL error, and my query is NOT working??? > War

Video : Ajax Form Validation in CakePHP 1.3 using Jquery

2011-01-21 Thread Azril Nazli
Ever try to simulate $ajax->observeField() in Cake using Jquery, the following video shows you how URL : http://www.php.net.my/forum/video-cakephp-validation-jquery - the video has no audio so you need to pay attention to whatever I typed - recorded using CamStudio in AVI and later converted to F

Re: Model query for controller to view results

2011-01-21 Thread Unflexible
Hi! function getActive() { $conditions = array( 'limit' => 10, 'order' => array('PlanDetail.monthly_cost asc'), 'conditions' => array('PlanDetail.active' => 1) // Gets all active=1 plan_details. ); return $this->find('all', compact('conditions')); } compare wi

Model query for controller to view results

2011-01-21 Thread OldWest
I am continuing to get an SQL error, and my query is NOT working??? *Warning* (512) : *SQL Error:* 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right synta

Re: gmail smtp set to cakephp with godaddy shared hosting.

2011-01-21 Thread Okalany Daniel
Cakephp's email component doesn't support Auth, so you could use http://swiftmailer.org/ as a vendor. It also has a multitude of features and thorough documentation. On Fri, Jan 21, 2011 at 10:05 AM, masud wrote: > Hello there. > I have godadday shared account and im getting delay to send or rec