You can also do a afterfind to convert the date to your format and then a
beforesave to convert the date back to mysql format.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the G
Thank you for replying.
I was afraid that was the case... I will build a small helper to do that.
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" g
I´ve solved this type of issues with a hidden field having the value in sql
format (-MM-DD ) and formatting the date for user with php in the text
field. ( http://php.net/manual/en/function.date.php )
jquery can set 2 fields with the diferents formats. (
http://jqueryui.com/datepicker/#alt-
I was able to make this work without much of a problem using dates in the
format they arrive from the database.
But that's not an acceptable for the users... and here I started having
problems.
It's easy enough to set the dateFormat of the datepicker (as suggested in
posts I've seen around), bu
You have multiple problems. First, the fact that you are getting the
"method in controller could not be found" message means your routing is not
correct. Try looking at
http://book.cakephp.org/2.0/en/core-libraries/components/request-handling.html#RequestHandlerComponent
Second, at the end of y
Hi All,
I want to display "checkbox" dynamically after the value is being
entered in input box .
So far i have done analysis and couldn't display the correct values in
checkbox .
Here what i did:
#sw is id for input text box.
#releaseValue : where checkbox needs to be created dyn
Browser support for PUT and DELETE is sketchy.
http://annevankesteren.nl/2007/10/http-method-support
http://amundsen.com/examples/put-delete-forms/
On Sat, Apr 28, 2012 at 4:25 AM, Greg Skerman wrote:
> I will add, that POST and GET works fine... data is passed back and forth as
> expected and c
hmmm disregard.. JSON.stringify to the rescue :S
On Sat, Apr 28, 2012 at 6:25 PM, Greg Skerman wrote:
> I will add, that POST and GET works fine... data is passed back and forth
> as expected and cakephp's "magic" takes care of saving of data perfectly
> fine.
>
>
> On Sat, Apr 28, 2012 at 6:24
I will add, that POST and GET works fine... data is passed back and forth
as expected and cakephp's "magic" takes care of saving of data perfectly
fine.
On Sat, Apr 28, 2012 at 6:24 PM, Greg Skerman wrote:
> Hi all,
>
> Building a simple tool which uses a cakephp rest service. The client
> appli
Hi all,
Building a simple tool which uses a cakephp rest service. The client
application is the webpage generated by the application, and it reacts to
user input such as dragging and dropping things around.
I've extended the jquery ajax helper methods to include methods for PUT and
DELETE, and th
t; > here is a link on which i found a way to a article to check username
> > availability...
>
> >http://www.instatutorial.com/check-username-availability-using-jquery...
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
>
rrectly but bit worried about security.
> help me guys
> here is a link on which i found a way to a article to check username
> availability...
>
>
> http://www.instatutorial.com/check-username-availability-using-jquery-in-cakephp
>
> --
> Our newest site for the community
I found a way to workout correctly but bit worried about security.
help me guys
here is a link on which i found a way to a article to check username
availability...
http://www.instatutorial.com/check-username-availability-using-jquery-in-cakephp
--
Our newest site for the community: CakePHP
Hi,
I have a multilingual project and I am using the P28n and methods.
But I am also doing a lot of Ajax stuff and from time to time I have
the need to output text via my javascript files.
Is there anyhow a way / a trick ( how to use the cakephp translation
() in my js files?
Thanks! I look for
Use pure javascript vs the JS helper for jQuery - should sort it.
On Jun 9, 8:48 am, OldWest wrote:
> I could be missing something severely here, but this is just not adding up.
>
> I built an ajax form which is working perfectly fine with ProtoType and
> Scriptaculous.
>
> I am migrating to Jque
I could be missing something severely here, but this is just not adding up.
I built an ajax form which is working perfectly fine with ProtoType and
Scriptaculous.
I am migrating to Jquery, and so I added the jquery libraries etc..
Below is my $ajax submit.. *NOTE the jQuery coded loading and
Usually I work with Firefox and Firebug for Web programming. The
Firebug doesn't shows anything wrong. I do not understand what happen.
When I do document.frm.submit() in the Onclick input to send data, I
have been checked what you said and only shows array indexes, and i
need to pick the values a
did you check on firebug if all params are passed correctly?
--
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 from this grou
Thanks for answer me. I used debug($this->params) and i could see the
array, it seems like print_r($this->data). I could see that json maybe
i'm not using it correctly, it could be the function $.ajax i have a
problem there. At this group i posted a larger version of my question
with the code form
do some debug($this->params) on the controller and you should see that data
--
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
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
See your other question:
http://groups.google.com/group/cake-php/browse_thread/thread/6decf0c24f7a6805?hl=en
Please don't ask the same question multiple times.
On Aug 20, 12:20 am, jeremy wrote:
> hai guys,
>
> i am looking for tutorials on using cakephp with jquery
> to implement
the client side validation using jquery...
>
> but is having difficulty in implementing server side validations...
>
> so if there is a tutorial on how to use this, i suppose it would be
> very helpful..
>
> thank you
--~--~-~--~~~---~--~~
Y
am able to do the client side validation using jquery...
but is having difficulty in implementing server side validations...
so if there is a tutorial on how to use this, i suppose it would be
very helpful..
thank you
--~--~-~--~~~---~--~~
You received
hai guys,
i am looking for tutorials on using cakephp with jquery
to implement the server side
validations...
please send me the links..as am not able to find a
proper subject in this material
Thamks in advance.
--~--~-~--~
You use it like you would use jquery normally. Very easy.
On Jul 30, 10:38 am, jeremy wrote:
> hai guys,
>
> am looking for using jquery with cakephp...
>
> i googled a lot but didnt get appropriate tutorials for this
>
> can anyone send me links or tutorials of perfr
hai guys,
am looking for using jquery with cakephp...
i googled a lot but didnt get appropriate tutorials for this
can anyone send me links or tutorials of perfroming both the client
side and server side
validations in cakephp using jquery..
THANZ IN ADVANCE
ntries/order/
0/', $('.li').sortable("serialize", {key:
'li[]'}))
}
});
On Jul 29, 7:50 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> Has anyone implemented the sortable feature using jQuery UI?
>
> I found this
> onlinehttp://stackoverflow
Has anyone implemented the sortable feature using jQuery UI?
I found this online
http://stackoverflow.com/questions/955438/jquery-sortable-in-cakephp-stuck-a
t-ajax-part
I have the sorting part working but its not firing the ajax request to
update the order.
$("#sortable"
ng tabs given in following link using
> jquery in cakephp please give me some example
>
>
> http://www.handsetdetection.com/devices/properties/Access/netfront_ver3
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed
How to make suct type of scrolling tabs given in following link using
jquery in cakephp please give me some example
http://www.handsetdetection.com/devices/properties/Access/netfront_ver3
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Did you manage to get this to work? I'm also trying to implement it.
--~--~-~--~~~---~--~~
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 unsubscribe from
o big a deal. You'll just need to include some JS
code yourself.
On Sat, Jan 31, 2009 at 12:25 AM, WidePixels wrote:
>
> I am new and I know this is a laughable question so I am prepared for
> the laugher but here goes.
>
> If you are using Jquery rather than the Protoype and
Yes I believe the ajax helper is useless at the point. I usually
create my own jquery helper.
On Jan 30, 9:25 pm, WidePixels wrote:
> I am new and I know this is a laughable question so I am prepared for
> the laugher but here goes.
>
> If you are using Jquery rather than the
I am new and I know this is a laughable question so I am prepared for
the laugher but here goes.
If you are using Jquery rather than the Protoype and Scriptauculous,
is the
$ajax->xxx useless? Can you use the ajax helper at all? If not what do
you do when you want to use ajax. Example
$a
Are you using $(document).ready()? Is jQuery loading *before* any of
your own code that uses it?
What, exactly, are the errors you're seeing?
On Mon, Jan 26, 2009 at 6:08 PM, WidePixels wrote:
>
> Is there something special I need or am missing with using jQuery? I
> have the jq
Is there something special I need or am missing with using jQuery? I
have the jquery.php im my views/helpers but no matter what i try to
create i get "is not a function" or syntax error in link(array('jquery.easing.1.3'),
false); ?>
Added the javascript that is in the demo
si-mon: I didn't mean to offend you, it was a honest question. To me
its not worth the extra work. However it can be done but there is a
lot of hoop jumping. You can do it if you load jQuery first. And force
it in to compatibility mode.
Samuel: You can configure which javascript is used now!
Since both frameworks use the $()-function, you either
- have to jump through loops to make it working for both of them
- use the jQuery alias function jQuery()
- or, my favorite:
if you use the short form to wait till page load of DOM of jQuery:
"jQuery(function(){/* yourcodehere */})"
you ca
Actually, we are a group working on a single project, and each one
having expertise in different libraries. So this question...
Anyhow, thanks for the very useful information. This will help us a
lot...
-- si-mon
On Nov 3, 5:11 pm, monmonja <[EMAIL PROTECTED]> wrote:
> If your using plugins, chec
If your using plugins, check if the plugin has the compatibility to
work with other library, if not remember to not use $ for jquery
stuff, most of the time you would be mixing them up. I would also
suggest to just drop one of them. :)
On Nov 4, 3:13 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote
On Mon, Nov 3, 2008 at 11:48 AM, mark_story <[EMAIL PROTECTED]> wrote:
>
> A better question is why?
Maybe if you have an app that uses prototype but one wants to play
with your amazing debug kit ;)
>
> -Mark
>
> On Nov 2, 11:55 pm, si-mon <[EMAIL PROTECTED]> wrote:
>> Hi all,
>> Is there any pr
A better question is why?
-Mark
On Nov 2, 11:55 pm, si-mon <[EMAIL PROTECTED]> wrote:
> Hi all,
> Is there any problem in using both JQuery and Prototype in the same
> application?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
Nope, try to use both and insert jQuery.noConflict()
documentation at http://docs.jquery.com/Core/jQuery.noConflict
Monmonja
http://monmonja.com/blog/
On Nov 3, 12:55 pm, si-mon <[EMAIL PROTECTED]> wrote:
> Hi all,
> Is there any problem in using both JQuery and Prototype in the same
> applicat
Hi all,
Is there any problem in using both JQuery and Prototype in the same
application?
--~--~-~--~~~---~--~~
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
Hi,
I am new to cakephp. I have no idea how to use ajax login using Jquery
and Auth.
It would be great for me if anybody tell me any tutorial or steps to
do this.
Thanks a lot you!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
First, thank you both, teknoid and hydra12, for your contributions.
They got me headed in the right direction.
BTW, this version of the JavaScript only displays the xml text in an
alert for testing purposes.
Second, this is working for me:
In your controller, you need to $this->set('xml',$xml); Set the
layout to be blank (1.2 has an ajax layout that would work for this,
but I don't know if 1.1 does or not).
You need a view called get_events that does this:
Your jquery is calling Attendance/get_events, so there has to be a
view ca
Perhaps I didn't look at your code very closely, but after you've
made the xml string ($xml) what happens? Shouldn't your action output
(return) that xml?
I'm not sure if 1.1 has the ability to use RequestHandler to respond
as xml, otherwise you could just make an empty layout, which would
only d
Using:
CakePHP 1.1.19.6305
jquery-1.2.6.min.js
In the view:
select a
campaign: selectTag( 'Campaign/CampaignID', $options_C, null, array( 'onchange'
=> 'display_select_event()','id' => 'select_campaign' ), null, true,
false ); ?>
In the JavaScript:
function display_select_event()
{
.
.
.
I checked it again ,but the problem is always, I test it and find that
when call ./post/add.json , the function in post/json/add.ctp not
work for me, it means ./post/add.json not associate with ./post/json/
add.ctp , right?
On 4月17日, 上午3时41分, krusty999 <[EMAIL PROTECTED]> wrote:
> You must set
>
> [EMAIL PROTECTED]:*
>
Configure::write('debug',0); //When output Json.
Put this line at json's layout.
[]'s
On Wed, Apr 16, 2008 at 4:41 PM, krusty999 <[EMAIL PROTECTED]> wrote:
>
> You must set some variable for te output.
>
> Controller:
> $this->set('myVariable', $this->User->findAll(
You must set some variable for te output.
Controller:
$this->set('myVariable', $this->User->findAll());
Configure::write('debug',0); //When output Json.
Then in your view app/views/users/data.ctp you can leave empty.
But in your view app/view/users/json/data.ctp you put:
object($myVariable);
It's useful,but if I let 'post/message.ctp' output nothing, I cannot
get anything by '/post/message.json', what's the problem
On 2月17日, 下午1时50分, bingo <[EMAIL PROTECTED]> wrote:
> Here are the things that I did to get my jquery, json, and ajax
> working
>
> 1. I included this line in app/config/
Thanks dude:)
I Gonna try this out
On Feb 17, 9:50 am, bingo <[EMAIL PROTECTED]> wrote:
> Here are the things that I did to get my jquery, json, and ajax
> working
>
> 1. I included this line in app/config/routes.php
>Router::parseExtensions('rss', 'json', 'xml'); //notice
> json ove
Here are the things that I did to get my jquery, json, and ajax
working
1. I included this line in app/config/routes.php
Router::parseExtensions('rss', 'json', 'xml'); //notice
json over there
2. Then, I created a folder named "json" in my views/post..so my views
folder structure lo
How do I send and process ajax request using jquery's .getJson() on
cakephp. I need to setup dynamic dropdown box? Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send
57 matches
Mail list logo