Re: [Moo] extending existing multiple currency scipt

2011-06-06 Thread Andrea Dessì
Hello Pete, If it's not a time critical task, and if you can send me an example of what you have, I can do it for you for free if it doesnt require more than 4 hours :) Let me know, Andrea -- Andrea Dessì Email: *nkj...@gmail.com* Skype: *nkjoep* Blog: *http://www.stealthefish.com/*

[Moo] extending existing multiple currency scipt

2011-06-06 Thread PH @ ok
Hi, My website uses a Mootools 1.2 script that allows teh user to choose the display language and currency by selecting from a list of links that action the change. I would like to be able make it so when a user comes through a certain channel I can use a url append to 'action' the change. For ex

Re: [Moo] Request.JSON

2011-06-06 Thread Lee
On 06/06/2011 16:06, Tim Wienk wrote: If I understood him correctly what he wants is to actually *not* emulate, and use the actual "delete" and "put" methods, and the problem was that it emulates by default and changes your "delete" into a "post". Exactly. It seems a strange default, to mange

Re: [Moo] Request.JSON

2011-06-06 Thread Tim Wienk
If I understood him correctly what he wants is to actually *not* emulate, and use the actual "delete" and "put" methods, and the problem was that it emulates by default and changes your "delete" into a "post".

Re: [Moo] Request.JSON

2011-06-06 Thread Ryan Florence
I think you got that backwards, unless I'm mistaken. Leave emulation set to true, and then define whatever method you want, like "delete" and "put". I've been doing it this way with Rails apps for years, and express apps recently. the post or get request will be have a _method key send with th

Re: [Moo] Request.JSON

2011-06-06 Thread Lee
Thank you very much for the quick reply, Tim! I had started sub-classing, and was just looking into the meaning of 'this.options.emulation' ... Cheers! Lee On 06/06/2011 14:12, Tim Wienk wrote: Hello, In the docs the two options are mentioned, perhaps they should be positioned right under e

Re: [Moo] Request.JSON

2011-06-06 Thread Tim Wienk
Hello, In the docs the two options are mentioned, perhaps they should be positioned right under each other to make them easier to find: * method - (string: defaults to 'post') The HTTP method for the request, can be either 'post' or 'get'. * emulation - (boolean: defaults to true) If set to true,

[Moo] Request.JSON

2011-06-06 Thread Lee Goddard
Hello list, Is there a way to have Request.JSON use a 'method' parameter other than 'get' and 'post'? I need access to the full range of HTTP request methods, none of which is functionally different from 'get' and 'post'. Thanks Lee http://mootools.net/docs/core/Request/Request http://mooto