| There is a new version here: 5.3
AjaxFw 5.1-Stable is available!
Thank you so much for all these that took the time to contact me to let me know about issues you were having, that has helped us to find some hard to find bugs.
If some of you had not taken the time to report these problems I probably would have nothing to release!, be sure to let me know if you find issues or limitations.
Proceed to download
Changes and new Features:
* Support for PHP 5.2
* New usage for Exec events:
**Update in all demos, you can see these changes
This is alternative replacement wrapper of the clasic:
* Multiple APIs now work on overlays callbacks
for example you may use Cjax in overlays elements
This means that you can assign actions in an overlay before the overlay is loaded, for example an overlay having an ajax form, would require you to assign the form-api to the overlay (like in this example: http://cjax.sourceforge.net/examples/ajax_login.php) , and this was possible in 5.0, however this functionality was not previously tested with with multiple APIs in the overlay, and only could support one API, now it supports multiple in case you wanted to do other ajax operation within the scope of the overlay, now you in 5.1 you can have work with the scope of the overlay with as many APIs as you please, see sample below:
$overlay = $ajax->overlay('resources/html/login.html');
//work within the scope of the overlay (elements in resources/html/login.html)
//type something in field (within the overlay), and it will change the title
//Example of adding one more operation in the overlay
//submit ajax-form in the overlay
//assign the overlay to an element so when you click on it, the overlay pops
On 5.0, this was limited to 1 single API. Now you may add as many as you want.
* Minor improvements & minor bugs fixed
* Expanded the number of parameters you can pass from a to f to a to z.
* Fixed “select” bug that chopped off last item in the array list in “select” ajax API.
* Allow to require ‘ajax.php’ for codeIgnater, when before it had to be ‘ajaxfw.php’, (the old way still works)
* Validate & Uploader plugins integration
Plugin validate now integrates with plugin uploader.
$ajax->validate('buttonID', 'ajax.php?optional/pre/action', $rules)->uploader(
'target' => 'directory/where/files/are/uploaded/to',
'text'=> 'Uploading Files..',
'url' => 'ajax.php?optional/post/action', //form post after the files are uploaded
'form_id' => 'form_id',
'success_message' => 'Files Uploaded Successfully..',
'suffix' => time()