Re: Help doing this in CakePHP

2009-11-04 Thread Chad Casselman
in the array. Hope this helps, Michael On 3 Nov., 00:29, Chad Casselman ccassel...@gmail.com wrote: I have a table that looks like: id      created         modified        domain_id       pages   search_engine_id 92      2009-11-02 14:32:11     2009-11-02 14:32:11     2       19990   3 90

Help doing this in CakePHP

2009-11-02 Thread Chad Casselman
I have a table that looks like: id created modifieddomain_id pages search_engine_id 92 2009-11-02 14:32:11 2009-11-02 14:32:11 2 19990 3 90 2009-11-02 14:32:11 2009-11-02 14:32:11 2 725 1 89 2009-11-02 14:32:10

Re: Help doing this in CakePHP

2009-11-02 Thread Chad Casselman
) FROM table GROUP BY domain_id, search_engine_id Regards, Pablo Viojo pvi...@gmail.com http://pviojo.net ¿Que necesitas? http://needish.com On Mon, Nov 2, 2009 at 8:29 PM, Chad Casselman ccassel...@gmail.com wrote: I have a table that looks like: id      created         modified

Re: Help doing this in CakePHP

2009-11-02 Thread Chad Casselman
. Regards, Pablo Viojo pvi...@gmail.com http://pviojo.net ¿Que necesitas? http://needish.com On Mon, Nov 2, 2009 at 8:49 PM, Chad Casselman ccassel...@gmail.com wrote: Is there anyway to get all the row information with all those ids or does it require another query to get row details

Javascript code in RemoteTimer

2009-05-07 Thread Chad Casselman
I setup a remote time just fine, but I need the url to pull a value from the page before it executes. The problem is the helper is parsing/sanatizing all the code so I can't get executable code in the call itself. Here is what I attempted (along with many other things but I can't seem to get it

Re: Created Modified no longer set

2009-02-03 Thread Chad Casselman
to retrace my steps. Chad On Tue, Feb 3, 2009 at 8:41 AM, Turgs timb@gmail.com wrote: Hi Chad Did you find your problem? I've just realised I have the same issue (except I haven't upgraded yet). Cheers Turgs On Jan 31, 7:52 am, Chad Casselman ccassel...@gmail.com wrote

Re: Created Modified no longer set

2009-01-30 Thread Chad Casselman
? On Jan 29, 9:17 pm, Chad Casselman ccassel...@gmail.com wrote: I just updated one of my apps with the latest of cakephp (just replaced the cake folder) and now when items are insert the created and modified dates are set to all 0s. Any thoughts on this? Chad

Created Modified no longer set

2009-01-29 Thread Chad Casselman
I just updated one of my apps with the latest of cakephp (just replaced the cake folder) and now when items are insert the created and modified dates are set to all 0s. Any thoughts on this? Chad --~--~-~--~~~---~--~~ You received this message because you are

Re: Multiple Uploads with MeioUpload

2009-01-28 Thread Chad Casselman
Was a solution for this ever found? I need the same thing. I really like using Meio but must get multiple files working. I am still unclear on all the magic in cakephp or I would try to modify the script myself, but no where to even start looking - right now. Chad On Mon, Jan 26, 2009 at

Re: CakePHP In A Subdirectory?

2009-01-26 Thread Chad Casselman
I have always got the desired results with only changing the top level one. Chad On Mon, Jan 26, 2009 at 9:21 AM, inVINCable invinceable...@gmail.comwrote: Ok, I notice there are 3 .htacess files included in a cake release. One in the top-level directory, one in app and one in app/webroot,

Re: Which editor for Mac OS X?

2009-01-23 Thread Chad Casselman
I use Eclipse for PHP. Chad On Fri, Jan 23, 2009 at 10:48 AM, Henrique Machado henri@gmail.comwrote: Sorry about it 2009/1/23 leo ponton@gmail.com Thanks, but neither of them are free. On Jan 23, 3:57 pm, Henrique Machado henri@gmail.com wrote:

Re: baking cakephp on MAC OS

2009-01-20 Thread Chad Casselman
Are you tied to XAMPP? I am using MAMP on Mac and baking just fine. MAMP is a much tighter package that XAMPP. Chad On Tue, Jan 20, 2009 at 3:23 PM, bookme rarockthewo...@gmail.com wrote: Thanks your suggestions...I tired all above solutions but not get success. I install fresh mysql,

Associations on the Fly - Good or Bad?

2009-01-17 Thread Chad Casselman
Are there any known advantages or disadvantages of 1) doing all associations ONLY when needed and only the ones that are needed or 2) putting lots of associations in the models and trying to unbind / contain them out of the urls ? Just trying to find a consistent way to get the most out of the

Model Loading the Wrong Model

2009-01-16 Thread Chad Casselman
I am building a social network and work on the users, requests, friends portion. users: id requests: id, user_id, friend_id friends: id, user_id, friend_id I had setup the requests and friends tables to have user_id and friend_id but they both point back to the users table. When working on the

Re: Variable state through multiple Ajax requests (ModalBox) including forms

2009-01-13 Thread Chad Casselman
I would love to see what you have done and your code. I am trying to expand my use of the modal box but not having much luck. Looking forward to it. Chad On Tue, Jan 13, 2009 at 12:25 PM, WebbedIT p...@webbedit.co.uk wrote: Siegfried, I've used that very useful article to get my head

Re: Deployment Issues

2009-01-11 Thread Chad Casselman
jan, 17:17, TheChad7 ccassel...@gmail.com wrote: Am I the only one that has had this issue? Any suggestions? Chad On Jan 10, 8:35 pm, Chad Casselman ccassel...@gmail.com wrote: I have been developing my first cake app locally for the past few days. I uploaded the files to my dedicated

Re: Deployment Issues

2009-01-11 Thread Chad Casselman
wrote: Sounds like you may have a problem with your .htaccess or routing. Are you using the default .htaccess files ? Is mod_rewrite enabled ? On Jan 10, 5:35 pm, Chad Casselman ccassel...@gmail.com wrote: I have been developing my first cake app locally for the past few days. I uploaded

Deployment Issues

2009-01-10 Thread Chad Casselman
I have been developing my first cake app locally for the past few days. I uploaded the files to my dedicated server as following: .htaccess index.php /app /cake /vendors When I hit the url I get users/login can't be found. Yes, I am using basic Auth. To me this means that it executed enough

Re: Preferred Modal Library?

2009-01-09 Thread Chad Casselman
I implemented ModalBox yesterday and it is working great. http://nerdnotes.org/2008/02/28/combining-modalbox-cakephp/# I had to go through the code for download - couldn't get it to work with just the explanation. Chad On Fri, Jan 9, 2009 at 10:13 AM, Bernardo Vieira bvieira.li...@gmail.com

Re: new benchmarks of PHP frameworks

2009-01-02 Thread Chad Casselman
Where can we learn about these tweaks or how to stream line cake? Chad On Fri, Jan 2, 2009 at 7:43 PM, rtconner rtcon...@gmail.com wrote: CakePHP is a developers framework, true, its inherently going to be slower than pure HTML etc; indeed. What has me shaking my head is looking at

Re: Run Queries Unrelated to Controller

2008-12-27 Thread Chad Casselman
infers that you don't have them linked to the controller's model. If they are connected, you may not have recursive set properly to cause Cake to include them. Cake needs to understand how the tables get joined in order to build the SQL. On Dec 27, 6:45 am, Chad Casselman ccassel...@gmail.com wrote

Re: Run Queries Unrelated to Controller

2008-12-27 Thread Chad Casselman
, Dec 27, 2008 at 12:39 PM, Chad Casselman ccassel...@gmail.com wrote: Can someone explain this to me please. I need to under cakephp better in order to really leverage it. If I just run find all, then everything is fine I get data back in the format below which is fine; however, if I pass

Re: Cakephp on MAMP, Mac OSX

2008-12-26 Thread Chad Casselman
I am running the same setup. The only problem I ran into was, I extracted cake to my download folder and then copied and pasted it to where I wanted to code in it. Little did I know, the .htaccess files did not copy and paste even though I grabbed the whole directory. Extract cake to where you

Run Queries Unrelated to Controller

2008-12-26 Thread Chad Casselman
I have a Controller for Jobs with a model Job. When I hit /jobs (the index function of Job Controller), I need to run a query on 2 other tables (not joined to Job) to find values to manually insert into jobs before actually displaying the index. I have tried several things but can't seem to

Re: Run Queries Unrelated to Controller

2008-12-26 Thread Chad Casselman
, 2008 at 6:26 PM, Arthur Pemberton pem...@gmail.com wrote: On Fri, Dec 26, 2008 at 5:14 PM, Chad Casselman ccassel...@gmail.com wrote: I have a Controller for Jobs with a model Job. When I hit /jobs (the index function of Job Controller), I need to run a query on 2 other tables

Re: Import Script Help Please

2008-12-25 Thread Chad Casselman
this floating around. On Dec 23, 8:11 am, Chad Casselman ccassel...@gmail.com wrote: Very new to cakePHP and of course the first thing I try doesn't follow the model. I am trying to create a script which takes a lot of post variables (from 1shoppingcart exactly) and then puts them

Re: Suggest a better brilliant tutorial for implementing ACL with Auth in Cakephp

2008-12-23 Thread Chad Casselman
Thank you. I will try it again. I have walked through this and about 6 other tutorials on this same topic. I have yet to fully understand it or to get one to work they way I am expecting. Thank you for your help. Chad On Tue, Dec 23, 2008 at 9:56 AM, mark_story mark.st...@gmail.com wrote:

Import Script Help Please

2008-12-23 Thread Chad Casselman
Very new to cakePHP and of course the first thing I try doesn't follow the model. I am trying to create a script which takes a lot of post variables (from 1shoppingcart exactly) and then puts them in the corresponding values in my database design. Let's say my database is: customers

Re: Suggest a better brilliant tutorial for implementing ACL with Auth in Cakephp

2008-12-22 Thread Chad Casselman
When I try to login I get Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references: Aro: Array ( [User] = Array ( [id] = 1 [username] = ad...@mb.com [group_id] = 1 [created] = 2008-12-22