Welcome Guest, Not a member yet? Register   Sign In
Ajax Framework (CJAX) for Codeigniter 2.x+
#31

[eluser]Ajaxboy[/eluser]
@Distortion ,

I am unable to reproduce the 'CJAX: util. form' alert issue, but the message signals the function 'this._form' as missing (which isn't). Are you still having that issue? If I could debug it I'd be able to tell more but just can't reproduce it. Have you tried again? Some future changes to the core will prevent caching old versions to discard this as an issue.

@sanjay,

Glad you got it working
#32

[eluser]Ajaxboy[/eluser]
Version 5.0-Beta of the Ajax Framework will be released in the next few days. Lots of new positive changes and some exciting ones will be supported in this new release, In the mean time 4.2 is the preferred release and will probably be for a while until we get out of the beta.
#33

[eluser]Ajaxboy[/eluser]
<h3>New Release 5.0-Beta</h3> > 100kb

<br />
<br />
[h4]Changes From 4.2 to 5.0-Beta[/h4]
Quote:Extension of plugins API and plugins documentation

There are so many new goodies for the plugin system that not many of them will get to be mentioned here.


Ajax Upload Files

This functionality was completely re-written, the new one is a lot more reliable than the previous, and can handle multiple uploads. Demo included in zip.


20+ more features and Changes

20+ more features and Changes, There are so many changes and new features that would make this post look messy and hard to read, so instead - just look at the ChangeLog.
See Full ChangeLog:
Quote:http://code.google.com/p/ajax-framework-...NGELOG.txt


[h4]Download[/h4]
https://sourceforge.net/projects/cjax/fi...deIgnater/

Developer Sample Plugins

[h4]Download[/h4]
https://sourceforge.net/projects/cjax/files/API/

Because of the nature of beta software release - it is not encouraged to use this release for production environment. Though no known issues have been found. Be sure to post any issues if you find any.



#34

[eluser]Ajaxboy[/eluser]
Uploadify Jquery Integration, Upload Files with Flash

CJAX Jquery.uploadify Plugin
This plugin is an alternative if you already use Jquery, and jquery.uploadify.

All dependencies are included. This PHP Plugin makes the configuration of uploadify a breeze.

You may now make full use of the jquery.uploadify plugin, through cjax API, in PHP, Example included in demos zip. This plugin is fully compatible and was tested uploading multiple files including 200MB+ files. All Settings are in the construction, meaning - you don't have to change anything to make it work, everything is right here, you may customize these settings and use ANY other settings available in uploadify:

Quick Samples

This sample as it is, will upload ANY valid files, and will notify you of any errors - such as directory permission and such.

You'd use the exact same format (in PHP) that is used in jquery.uploadify plugin (JAVASCRIPT) options, that is what makes it easy to use, if you are already familiar with this plugin in jquery, even if you are not, this sample speaks for itself:

Code:
&lt;?php

$ajax =  ajax();

//Paths are relative to uploadify plugin directory.
$uploadify = $ajax->uploadify('.upload', array(
    'height' => 22,
    'checkExisting' => true, //or false
    'fileTypeDesc' => 'Images Files',
    'fileTypeExts' => '*.jpg;*.png;*.gif',
    'onUploadStart' => "function() {
        uploadify.loading('Uploading file...');
    }",
    'onUploadProgress' => "function(file, bytesUploaded, bytesTotal, totalBytesUploaded, totalBytesTotal) {
            uploadify.loading(totalBytesUploaded + ' bytes uploaded of ' + totalBytesTotal + ' bytes.');
        }",
    'onUploadSuccess' => "function(file, data, response) {
        uploadify.success('The file ' + file.name + ' was successfully uploaded.');
    }",
    'onUploadError' => "function() {
        uploadify.warning('An error occurred!');
    }",
    'onError' => "function() {
        uploadify.error('An error occurred!');
    }"
));

//Example of overwritting options, you may overwrite any available options
$uploadify->fileTypeDesc = 'Media Files';

//Update extensions supported to upload
$uploadify->fileTypeExts = '*.pdf;*.docx;*.doc;*.jpg;*.png;*.gif;*.zip';

##UPLOAD DIRECTORY
//if you remove this line, it will  be by default uploaded to the plugin uploads/ directory . (if writable)
$uploadify->target = "Directory/Where/To/Upload/Files";
//replace the above line to the directory where you want the uploads to go

Review plugin documentation
Quote:http://www.uploadify.com/documentation/

A working sample is included in the samples/demos zip

Download the Plugin
Quote:https://sourceforge.net/projects/cjax/files/Plugins/


Hope that makes sense to anyone that might use the plugin

In a side note,

The Demos zip includes an *Updated* Ajax Upload Files Example, which is built-in in the framework $ajax->upload() (see API documentation: http://code.google.com/p/ajax-framework-...deigniter/), the ajax file uploader allows you to upload any files and allows configuration for production usage, such as the usage of prefixes, suffixes in file names, etc.

#35

[eluser]Sanjay Sarvaiya[/eluser]
Hi
I have installed ajax-framework “Current Version 4.2” Its working like charm with most of browser but in ie7! nothing happen.
Is there any way to work with ie7 ?
#36

[eluser]Ajaxboy[/eluser]
Hello Sanjay,

Thanks for reporting this, will definitely look into it.

Ajaxboy
#37

[eluser]Ajaxboy[/eluser]
<h3>New Release</h3>
Download


Quote:http://sourceforge.net/projects/cjax/files/CodeIgnater/


5.0-Beta3

* Fixed Ajax File Uploads fully working in IE7


5.0-Beta2

Changes From Beta to Bata2

Quote:* Support for PATH INFO style URL

eg: ajax.php/controller/function

This adds to the already plenty of supported URLS in the list:
ajax.php?$controller/$function
ajax.php?controller=$controller&function;=$function
ajax.php/$controller/$function

With Mod-Rewrite:

ajax/$controller/$function
or:
*Anything*/$controller/$function
*Anything* - a word of your choosing by changing the word "ajax" in file .htaccess

* Fixed issues with IE 7 not working
All basic functionality and ajax operations are operational in IE7, but there might be other issues - see "known issues".

* Other small improvements in request handling, and dealing with controllers that have constructors.

Known Issues:
OveLay,overLayContent some formatting dis-perfections on IE7.
Other small bugs/issues on IE7. Some demos may not work on IE7.
Ajax Files Uploads have some issues
See Full ChangeLog:
http://code.google.com/p/ajax-framework-...NGELOG.txt

#38

[eluser]Ajaxboy[/eluser]
We're moving from google code to Source Forge http://cjax.sourceforge.net/

The next releases will likely be downloadable from a special sub-project for codeignater.

-Ajaxboy
#39

[eluser]Unknown[/eluser]
Im really happy I started reading this today. Youve got a follower in me for sure!
#40

[eluser]Ajaxboy[/eluser]
@Kate,

Hello kate, thanks! Smile

It is refreshing to see enthusiastic people providing positive feedback. Smile

Be sure to sign up for news updates if you'd like to be in the loop or be notified of important updates or run into issues: https://lists.sourceforge.net/lists/list...ax-updates

Any other constructive feedback is appreciated

PS:

For everyone that has downloaded the beta-release, it would be nice to hear if you have found any issues or how it's working out.

-Ajaxboy




Theme © iAndrew 2016 - Forum software by © MyBB