http://www.symfony-project.org/forum/index.php/mv/msg/9279/0/40/
for more information, please check the post.
It looks to me like many people having problems using this plugin, and for good reasons. It is not the best plugin around and it was built very quickly, but it can be used. To help you all I have made a small demo project which I friezed and attached. The project was build by init a new project, then init an application called "test" and then init module called "test". The index template contains the form with a file input field to be uploaded. Theses are the changes done to various files: filters.yml:
settings.yml:
view.yml
There is no code in the actions, only some templates. The index template is a form with file field:
and the response template just echos some info:
The AjaxUploaderHelper.php was buggy (as few of you have noticed). It should be: url_for("ajaxUploader/uploader") . "?name=$name", "name"=>"ajaxUploader", "frameborder"=>0, "width"=>320, "height"=>25), true) And thats it, AJAX uploads! |
No comments:
Post a Comment