'order' => 'MAX
> (created)');
> $this->paginate('YourModel');
>
> In both cases you can get related data with the 'contain' option in
> the array.
>
> Hope this helps,
>
> Michael
>
> On 3 No
ead.
> 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 wrote:
>>
>> Is there anyway to get all the row information with all those ids or
>>
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 wrote:
>>
>> I have a table that looks like:
&
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 2009
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 t
;ll try to retrace
my steps.
Chad
On Tue, Feb 3, 2009 at 8:41 AM, Turgs 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 Ca
cache?
>
> On Jan 29, 9:17 pm, Chad Casselman 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 s
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 subs
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 2:2
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 wrote:
>
> 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, so
> they should all
I use Eclipse for PHP.
Chad
On Fri, Jan 23, 2009 at 10:48 AM, Henrique Machado wrote:
> Sorry about it
>
> 2009/1/23 leo
>
>
>> Thanks, but neither of them are free.
>>
>> On Jan 23, 3:57 pm, Henrique Machado wrote:
>> > http://macromates.com/http://www.panic.com/coda/
>> >
>> > 2009/1/23 le
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 wrote:
>
> Thanks your suggestions...I tired all above solutions but not get
> success.
>
> I install fresh mysql, phpmyadmin but not
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
ap
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 r
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 wrote:
>
> Siegfried,
>
> I've used that very useful article to get my head around the basics
> 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" wrote:
>> I have been developing my first cake app locally for the past
pecify each action ?
>
> On 11 jan, 17:17, TheChad7 wrote:
>> Am I the only one that has had this issue?
>>
>> Any suggestions?
>>
>> Chad
>>
>> On Jan 10, 8:35 pm, "Chad Casselman" wrote:
>>
>> > I have been developi
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 t
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
wrote:
>
> I've been usin
I have the basic Auth working, but there isn't any information in the Session.
I was trying to use the code I found to access the logged in user's info by:
$this->Session->read('User.id')
My login function is just
function login() {}
// using automagic
What do I need to do to keep the login wor
Can any recommend any Ajax tutorials/working examples for CakePHP 1.2?
Chad
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscr
I am working on a complex app (for me) and at the same time I have yet
to grasp how to use Auth correctly.
I writing your basic social network (for argument sakes) and will
need to allow users to only edit their own profile with some global
admins as well.
I have no clue how to do that with Aut
Are there any resources on fine tuning a cakephp app?
I am building my first app with 100,000+ users expected in the first 6
months. I am not sure where to even start optimizing cakephp.
Chad
On Wed, Jan 7, 2009 at 10:09 AM, teknoid wrote:
>
> It's been said before, but I'll say it again
>
Where can we learn about these tweaks or how to stream line cake?
Chad
On Fri, Jan 2, 2009 at 7:43 PM, rtconner 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 all the other
ec 27, 2008 at 12:39 PM, Chad Casselman
> 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 fin
:18 AM, Webweave wrote:
>
> Your original post showed 'uses' for the tables in question, which
> 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 includ
> In order to fetch data from both tables, you need to join them, Cake
> won't do this automagically.
>
> On Dec 26, 5:40 pm, "Chad Casselman" wrote:
> > Should it bring in all hardcoded (model) associations when I import them?
> >
> > Here is
ce table. Thoughts? Do I
have to recode the associations already in the models?
Chad
On Fri, Dec 26, 2008 at 6:26 PM, Arthur Pemberton wrote:
>
> On Fri, Dec 26, 2008 at 5:14 PM, Chad Casselman
> wrote:
> > I have a Controller for Jobs with a model Job.
> >
> >
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 make
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 w
for each bit you are interested in). There are
> lots of examples on how to do this floating around.
>
> On Dec 23, 8:11 am, "Chad Casselman" wrote:
> > Very new to cakePHP and of course the first thing I try doesn't follow
> the
> > model.
> >
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
customers_pro
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 wrote:
>
> Both my tutorial
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
34 matches
Mail list logo