This is the documentation for concrete5 version 5.6 and earlier. View Current Documentation

Exchanging data between the browser and server using AJAX, or popping up a dialog using AJAX, from Concrete 5 is both straightforward and confusing. Straightforward because, once you boil it down to the basics, there is not much to it. Complicated because Concrete5 provides 3 slightly different ways of declaring AJAX action handlers. Which works best depends a lot on how you want to organise your package and in what context you want to use the AJAX transaction.

Rather than carry on reading about all the various combinations and permutations, install the package Ajax Lessons Add-On on a development site and explore the behaviour of the installed blocks during Add, Edit and View.

There is more documentation of the package to go with the lessons and the source contains plenty of comments to show how it works. For the deep theory, see JavaScript, jQuery and Concrete5

Read more How-tos by JohntheFish

Loading Conversation