Display confirmation message in a custom position

quantum_leap 13 Feb, 2010
I have included a form inside a module and positioned it on the right side of a website. Is there a way to display the confirmation message somewhere on top of that particular module, instead of the default message template position? Thank you.
nml375 13 Feb, 2010
Hi quantum_leap,
Unfortunately, the only way I could think of right now, would be to use ajax calls.

/Fredrik
quantum_leap 13 Feb, 2010
Would it be easy to explain a bit more, I am not so programming savvy myself...
nml375 13 Feb, 2010
I'll try my best,
Using ajax calls much simplified means that you use a javascript to send a request to the remote web server, and recieve the result as a javascript object. All this without loading a new page. Once you got the object with the result, you would then usually use another javascript to parse and display the data in a container of the current website. There are some useful frameworks for using ajax, though implementing such functions usually takes some experience in programming.

A google for "ajax programming" should provide some useful results for further reading.

/Fredrik
quantum_leap 13 Feb, 2010
Sure, yeah, I will have a look, thanks!
GreyHead 13 Feb, 2010
Hi quantum_leap.

Mootools has some effective AJAX components and teh ChronoForms Extra code boxes can be used to send responses back - not sure if that helps here or not though.

Bob
quantum_leap 13 Feb, 2010
I am thinking, I need to create an extra field in the module template to display the message. But I have no idea what ajax call I need to use. Should be a simple thing for someone a bit more experienced, I would imagine. These chronoforms can be a bit technical for me, I wouldn't know what code to write. How can I access the mootools through Joomla, I think Joomla comes with some mootools libraries, yeah? How could I have acccess to them? Or could I adapt the message already displayed into an ajax form? Don't know, something like that...🙂
This topic is locked and no more replies can be posted.