Thank you!
This is how I have tried in the first place but it is not working.
$this-RequestHandler-isAjax() is null or false, so it will never execute
the conditional code.
Best regards!
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to
Hi everyone!
I have the following problem: in my application I have a button that makes
an ajax request. If the session expired, the lightbox will load the default
login page. I want to detect if the original request came from Ajax but I
don't know exactly how to do it, because in
');
}
}
?
/View/Tests/ajax_view.ctp
?php
if(isset($return)){
echo json_encode($return);
}
?
Greetings
2012/8/30 Florin Trifu florin.catalin.tr...@gmail.com
Hi everyone!
I have the following problem: in my application I have a button that
makes an ajax request. If the session expired
Hi
On my page, I have a table with the information of a company and a
button to edit the information. On click, through jQuery and AJAX, I
want to transform that table into a form, and I can do that either by
adding the form with javascript (hard coding it in javascript and
requesting from the
Hi
In my application, if I want to access a link, the url in the browser will
be something like http://application/controller/action/parameter:value.
However, browsing on cakephp.org the urls are something like (and I will
give you an example):
!
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of AD7six
Sent: Monday, May 21, 2012 2:13 AM
To: cake-php@googlegroups.com
Subject: Re: Table 'cakehr.cake_errors' doesn't exists
On Saturday, 19 May 2012 21:09:13 UTC+2, Florin Trifu wrote:
Hi
I have sent
)
and cake version
On Saturday, May 19, 2012 9:39:43 PM UTC+2, Florin Trifu wrote:
Excuse me. I think I didn't understand what you wanted to say.
You imply that the error is generated because the table test.cake_errors
doesn't exists?
I don't even think it should. I am not using it, and if you
: Re: Table 'cakehr.cake_errors' doesn't exists
Instead of:
echo $this-Form-create(array('id'='search'));
try:
echo $this-Form-create(false, array('id'='search'));
On Sunday, May 20, 2012 1:04:14 PM UTC+2, Florin Trifu wrote:
Hi Majna
The entire content of menu.ctp is this:
div id=menu-wrapper
] On Behalf
Of majna
Sent: Sunday, May 20, 2012 10:07 PM
To: cake-php@googlegroups.com
Subject: Re: Table 'cakehr.cake_errors' doesn't exists
Can you explain why there should be an err?
On Sunday, May 20, 2012 8:59:10 PM UTC+2, Florin Trifu wrote:
With this line of code I don't receive errors
{main} [*CORE\Cake\Error\ErrorHandler.php*, line *136*]
Thank you in advance!
On Sat, May 5, 2012 at 7:20 PM, Florin Trifu florin.catalin.tr...@gmail.com
wrote:
Did anyone encountered this error:
[PDOException] SQLSTATE[42S02]: Base table or view not found: 1146 Table
'cakehr.cake_errors
is missing.
On Sat, May 19, 2012 at 10:20 PM, Tilen Majerle tilen.maje...@gmail.comwrote:
Table 'test.cake_errors' doesn't exist
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/5/19 Florin Trifu florin.catalin.tr...@gmail.com
Table 'test.cake_errors' doesn't exist
--
Our newest
Did anyone encountered this error:
[PDOException] SQLSTATE[42S02]: Base table or view not found: 1146 Table
'cakehr.cake_errors' doesn't exist
?
I have no idea why this is happening. The problem is that I can't see the
errors because they are nested inside a div having the
looking for.
Thanks,
Sean
On Feb 15, 5:33 pm, Florin Trifu florin.catalin.tr...@gmail.com
wrote:
Hi
I don't know if my understanding is correct, but Auction hasMany
AuctionImages and not HABTM.
You should try to change that hasAndBelongsTo from the Auction model, of
which I've never
Hi
I don't know if my understanding is correct, but Auction hasMany
AuctionImages and not HABTM.
You should try to change that hasAndBelongsTo from the Auction model, of
which I've never heard by the way, into hasMany.
As by the error following the pattern model_name_X is not associated with
Hi
What do you mean when you say it doesn't work? Do you have an error message?
Best regards
On Mon, Jan 23, 2012 at 8:26 AM, Ivo Wolgensinger wolgensin...@gmail.comwrote:
Dear all
I have some difficulties to set up a proper validates()-function in
the Controller. Everything in the
Hi Thad
I will answer to your question without knowing the error you receive, so it
might not be the solution to your problem.
The link you provided in your mail, shows that you don't use the correct
name for your controller. You should name your controller with the plural
of the world you use.
.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group
at http://groups.google.com/group/cake-php
--
Florin Trifu
Mobile: +40 728 300 750
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Thank you Stefanski
That's one of the things I don't know how to do it, but it's not the only
one. I honestly don't know where to start, I have the code from the example
Geoff gave me but I'm starring at it not knowing what to do with it. But
probably Geoff is right and I need to see the
So... no one doesn't have any other tip? Nobody didn't use this kind of
functionality?
On Fri, Dec 16, 2011 at 8:54 PM, Geoff Douglas drdouglas...@gmail.comwrote:
Take a look at the http://jqueryui.com/demos/dialog/#modal-form
Modal Form demo.
There is a function that fires when a user
Hi all
Environment example:
- Countries controller
--- add action
--- add.ctp view
- Cities controller
--- add action
--- add.ctp view
Goal:
- in cities controller, inside the add action, I want to put a link
next to the select element containing all the countries from the
database,
Thank you Geoff!
Indeed, it's exactly what I want, but I hope it's also what I need.
In case you've used this, could you please give a small example of how to
implement it?
One more thing, I don't understand exactly what a callback is and what
exactly does it do. Could you please give a short
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group
at http://groups.google.com/group/cake-php
--
Florin Trifu
Mobile: +40 728 300 750
--
Our newest site for the community: CakePHP Video
Hi
I need to implement a date picker into my application. I have found
this tutorial:
http://bakery.cakephp.org/articles/agusti/2010/02/02/transparent-datepicker-with-jquery
but unfortunately is not working with my version. Did someone
succeeded to implement it or can someone guide me to another
I have tried this but it doesn't work for me.
I have downloaded the jquery-ui, put the js inside /app/webroot/js,
included inside my layout, and then create an input like this:
$this-Form-input('expire', array('id'='datepicker'))
Nothing happens when I click inside the text box...
--
Our
I forgot to tell you but jquery is also included. In the javascript console
there is no error because the date-picker is not triggered.
Can you please tell me where should I put the script you told wrote me?
This one:
script
$(function() {
$(#datepicker).datepicker();
});
/script
Thank
Thank you very much! Indeed it worked.
Just to let the other users know in case they will have the same problem:
1. Download jquery (http://docs.jquery.com/Downloading_jQuery) and put the
file in $project/app/webroot/js (e.q: *$project/app/webroot/js/jquery.js*)
2. Download jquery-ui
26 matches
Mail list logo