Can anyone educate me on how to implement this:
http://gavinbenda.com.au/2007/04/20/tutorial:-validate-a-username-using-ajax-and-prototype/
in Cake to validate a new user's username, or is there already a
tutorial on how to do this an easier way?
Thanks in advance
Check out the new CakePHP Questi
Thanks Dave! it works!
Great user group :)
Cheers
On 28 nov, 00:02, Dave wrote:
> If neither of those works then you just have the wrong password and you can
> google how to reset the root password
>
> On Fri, Nov 27, 2009 at 6:01 PM, Dave wrote:
> > A lot of times when you first setup your we
Yes my path to controllers is D:/wamp/www/cakephp/app/contollers but
I still cannot get it to work
On Nov 27, 11:25 am, John Andersen wrote:
> Please confirm that your path to the controllers are:
>
> D:/wamp/www/cakephp/app/contollers
>
> Enjoy,
> John
>
> On Nov 27, 2:24 pm, foongoos wrote
Well :D it should be .../controllers NOT .../contollers !!
Enjoy,
John
On Nov 28, 1:33 pm, foongoos wrote:
> Yes my path to controllers is D:/wamp/www/cakephp/app/contollers but
> I still cannot get it to work
>
> On Nov 27, 11:25 am, John Andersen wrote:
>
> > Please confirm that your path
I said that earlier :)
But, no one cared :(
On Nov 28, 5:35 pm, John Andersen wrote:
> Well :D it should be .../controllers NOT .../contollers !!
> Enjoy,
> John
>
> On Nov 28, 1:33 pm, foongoos wrote:
>
> > Yes my path to controllers is D:/wamp/www/cakephp/app/contollers but
> > I still ca
Today I wanted to get started with writing some tests, when trying to
run the the core tests, I get errors here and there.
If I run for example the view tests, I get:
2/2 test cases complete: 95 passes, 0 fails and 0 exceptions.
If I run the TestSuite tests:
4/4 test cases complete: 214 passes, 1
After some research I choose this from a few plugins:
http://conseil-recherche-innovation.net/authake
Let me know if anyone had used it before and how good it is :)
On Nov 27, 9:18 pm, NeoWebTech wrote:
> Hello!
>
> I am creating a classifieds website where I need registration, login,
> forgot
hello you cab'r give a function to a variable declaration.
Put it in beforeFlter:
function beforeFilter() {
$this->criteria = array('Muncipo.estado_id'=>$ths->Auth->user
('estado_id');
}
On Nov 27, 8:56 pm, jlugo wrote:
> I have the fallowing code
>
> class CompromisosController extends AppContr
@John
* When the table is named invoice_statuses, the error message reads,
"Error: Database table invoicestatuses for model Invoicestatus was
not found."
* When the table is named invoicestatuses, the error message reads,
"Error: Database table invoice_statuses for model InvoiceStatus was
not f
Hello Dear Bakers,
I am looking to put together the next collection of the latest,
greatest and coolest cakephp tips (for 1.2 & 1.3 builds). Supplied by
everyone and anyone in this great community. The article will be
published on the bakery with all proper credits given where they are
due.
Been
Try specifying the tables name using:
var $useTable = 'your tablename';
Enjoy,
John
On Nov 28, 3:26 pm, Kerr wrote:
> @John
>
> * When the table is named invoice_statuses, the error message reads,
> "Error: Database table invoicestatuses for model Invoicestatus was
> not found."
>
> * Wh
@NeoWebTech :)
I "heard" you, but foongoos not :)
Ok, hope it is the problem!
Have a pleasant day,
John
On Nov 28, 2:45 pm, NeoWebTech wrote:
> I said that earlier :)
>
> But, no one cared :(
>
> On Nov 28, 5:35 pm, John Andersen wrote:
>
> > Well :D it should be .../controllers NOT .../conto
Since I can't seem to find the answer on google, nor in the docs, I
hope someone here can help me.
Whenever I try to do a query with more then 1 SUM-field in it, it will
only return the first SUM-field, not the other ones in its results.
So for instance :
SUM( amount1 ) as amountOne, SUM( amount
I am glad that someone is listening to me. thanks :)
foongoos is it solved?
-- Forwarded message --
From: John Andersen
Date: Nov 28, 7:56 pm
Subject: Error: ItemsController could not be found.
To: CakePHP
@NeoWebTech :)
I "heard" you, but foongoos not :)
Ok, hope it is the pr
Please I beg you to host in Hyderabad or for that matter any place in
India :-?
On Nov 28, 10:53 am, Kyle Decot wrote:
> Columbus, OH!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are sub
Hey,
sometimes I have the problem that no matter what I'm doing the
RequestHandler does not work with put-requests.
When I create the form, and set the form to like
$form->create('User', array('action' => 'edit'));
When I send the form, the RequestHandler does not work with IsPut, but
inst
its actually var $uses = array('TABLENAME');
On Sat, Nov 28, 2009 at 9:53 AM, John Andersen wrote:
> Try specifying the tables name using:
>
> var $useTable = 'your tablename';
>
> Enjoy,
> John
>
> On Nov 28, 3:26 pm, Kerr wrote:
> > @John
> >
> > * When the table is named invoice_statuses,
I noted in my initial post that I'd tried $useTable to no avail,
though I did not
I don't see in the API where $uses is a valid option in this scenario,
however I do see $useTable.
http://api.cakephp.org/class/model
Looking at the source of /cake/libs/model.php, I see that $useTable is
declared
Sorry guys, please ignore, "though I did not", in the first sentence
of my latest reply. :)
On Nov 28, 11:49 am, Kerr wrote:
> I noted in my initial post that I'd tried $useTable to no avail,
> though I did not
>
> I don't see in the API where $uses is a valid option in this scenario,
> however
I apologize my mistake. var $uses = array('MODELNAME'); is for the
controller.
On Sat, Nov 28, 2009 at 12:50 PM, Kerr wrote:
> Sorry guys, please ignore, "though I did not", in the first sentence
> of my latest reply. :)
>
> On Nov 28, 11:49 am, Kerr wrote:
> > I noted in my initial post that
I know you all want to come visit me in Miami and hit up South Beach
welcome to MEEAAMM
On Sat, Nov 28, 2009 at 11:54 AM, NeoWebTech wrote:
> Please I beg you to host in Hyderabad or for that matter any place in
> India :-?
>
> On Nov 28, 10:53 am, Kyle Decot wrote:
> > Columbus, OH!
>
>
what do you have in your $cacheAction variable in your controller? Perhaps
adding a line to match the new routing url?
On Fri, Nov 27, 2009 at 11:21 AM, Quess wrote:
> Hello,
>
> Is anybody here who make it working?
> In my application I have some custom urls and it seems like cache is
> not wo
the form helper defaults to post, so maybe trying:
$form->create('User', array('action' => 'edit','type'=>'put'));
may work.
On Sat, Nov 28, 2009 at 12:00 PM, DigitalDude
wrote:
> Hey,
>
> sometimes I have the problem that no matter what I'm doing the
> RequestHandler does not work with put-req
Hey,
I know how the paginator works and how I can define my conditions to
filter as I like, but I was wondering how to add some more usability
to this so let's say the user should set the filters "on the fly" with
some drop downs...
So I made some dropdowns with some options such as order => ASC/
Rather then using request handler to check for post, you can try just
checking if the value exists, ie
if(!empty($this->data['Professor']['limit'])) $limit =
$this->data['Professor']['limit'];
On Sat, Nov 28, 2009 at 1:16 PM, DigitalDude
wrote:
> Hey,
>
> I know how the paginator works and how
He can then add the "numeric" rule as well
On Fri, Nov 27, 2009 at 9:30 AM, r4zv4n wrote:
> 'range' still won't fit his purpose, as it will allow for non-integer
> values ;)
>
> On Nov 27, 8:54 am, jburns wrote:
> > Ah - yes - good call. It was late...!
> >
> > I should have said 'rule' => arra
err... never mind... doesn't help with decimals
On Sat, Nov 28, 2009 at 1:35 PM, Dave wrote:
> He can then add the "numeric" rule as well
>
>
> On Fri, Nov 27, 2009 at 9:30 AM, r4zv4n wrote:
>
>> 'range' still won't fit his purpose, as it will allow for non-integer
>> values ;)
>>
>> On Nov 27,
Can you confirm that CakePHP is finding and using your model and not
just using AppModel ?
Try to make a specific function in your model and call it from the
controller, to confirm that your model is being used!
Enjoy,
John
On Nov 28, 7:50 pm, Kerr wrote:
> Sorry guys, please ignore, "though I
Hey,
I tried, but it won't work. The variables für limit, order and sortby
are overwritten after I change the page of the pagination, because the
date from the forms no longer exist and are overwritten by my standard
values.
The problem is that when I use my filter-form and send the form, the
var
Hey,
ok I found a way to do this, but I'm not sure if that's the right
approach.
What I'm doing now, is store the incoming filter-options in the
Session. When a user comes into the controller for the first time, I
check if the session-keys are set, and if not, I apply some standard
options. When
I had the same problem and used the same method. Save to session and check
session. Also not sure if this is the best way but it works.
-Original Message-
From: DigitalDude [mailto:e.blumsten...@googlemail.com]
Sent: November-28-09 3:40 PM
To: CakePHP
Subject: Re: How to paginate with use
You don't need to set the defaults at all in the method, these should be set
in your $paginate variable at the top of your controller.
If you send the filter options as GET variables (or parameters for the
action), then you can add 'url'=>$this->params to your $paginator variable
in the view file.
'url'=>$this-params should do it. Is this what you tried originally?
On Fri, Nov 27, 2009 at 5:22 AM, Mono wrote:
> HI!
>
> My URL loos at the moment like this:
> .../articles/search?for=google
>
> And for the second page from the pagination it should looks like:
> .../articles/search/page:2?fo
I am sure this is not the best way as it wont provide any bookmarking
facility if the user want to save or share the page as is.
You can think of using in line links for this as gmail does
#orderby_value-sort_value or make them like parameters in URL itself
/order-value/sort-value/ etc.
I don't kno
I have a form I'm calling via a specific controller, but will save to
multiple tables. Is there a way to validate against multiple models?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are su
Please copy/paste the find statement into the post, so that we better
may be able to see what may be the problem ;)
Enjoy,
John
On Nov 28, 3:48 pm, Robin Marx wrote:
> Since I can't seem to find the answer on google, nor in the docs, I
> hope someone here can help me.
>
> Whenever I try to do
Yes, my model is being found. I set up a method named test both in
the model and controller, and it's being picked up.
On Nov 28, 12:41 pm, John Andersen wrote:
> Can you confirm that CakePHP is finding and using your model and not
> just using AppModel ?
> Try to make a specific function in you
Any ideas how to accomplish this output code in Cake?
Link Text
I have tried using the $html->link and $html->tag('span', 'Link Text');?> in
various ways but all I get is
Link Text with the span
outside the
Thanks,
Dave
Check out the new CakePHP Questions site http://cakeqs.org and help othe
echo "" . $html->link("Link Text","/some/link/",array
(),false,false) . "";
On Nov 28, 6:48 pm, "Dave" wrote:
> Any ideas how to accomplish this output code in Cake?
>
> Link Text
>
> I have tried using the $html->link and $html->tag('span', 'Link Text');?> in
> various ways but all I get is
> Li
Perfect!
Thank you very much.
Dave
-Original Message-
From: Kyle Decot [mailto:kdec...@gmail.com]
Sent: November-28-09 9:09 PM
To: CakePHP
Subject: Re: Span Tag
echo "" . $html->link("Link Text","/some/link/",array
(),false,false) . "";
On Nov 28, 6:48 pm, "Dave" wrote:
> Any ideas
They really let you use PHP Frameworks for your homework?
On Sat, Nov 28, 2009 at 3:13 PM, John Andersen wrote:
> Please copy/paste the find statement into the post, so that we better
> may be able to see what may be the problem ;)
> Enjoy,
>John
>
> On Nov 28, 3:48 pm, Robin Marx wrote:
> >
Bether,
You can increase the memory limit in a per action basis using the following
function:
ini_set('memory_limit', '*256M*');
This can be in your action function, so the memory limit is set just in the
functions that require this increase memory usage and let as default all
other actions.
Fo
i have a problem with add action help me.
i used
> cake bake all
http://localhost/loan/AjiltanBrts looks Ok
http://localhost/loan/AjiltanBrts/add
Notice (8): Undefined property: AjiltanBrt::$BankSalLav [APP
\controllers\ajiltan_brts_controller.php, line 30]
Fatal error: Call to a member funct
See: http://book.cakephp.org/view/74/Complex-Find-Conditions
CTRL+F: "How about GROUP BY?" on that page. See the MIN() usage, I'd
just try to use it twice (and SUM instead of MIN)
On Nov 29, 2:13 am, Dave wrote:
> They really let you use PHP Frameworks for your homework?
>
> On Sat, Nov 28, 2009
44 matches
Mail list logo