Xataface AJAX Upload Module 0.1
jQuery Ajax Upload Widget for Xataface
AJAX Upload Module
ajax_uploader.png?max_width=640
lightbox.png?max_width=640

Synopsis

This module adds a file upload widget to Xataface that uses AJAX with widget:type=ajax_upload.

License

Xataface AJAX Upload Module
Copyright (c) 2012, Steve Hannah <shannah@sfu.ca>, All Rights Reserved

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA  02110-1301, USA.

Features

Requirements

Xataface 2.0 or higher

Download

Packages

None yet

SVN

http://weblite.ca/svn/dataface/modules/ajax_upload/trunk

Installation

  1. Copy the ajax_upload directory into the modules directory of either your application or Xataface.
  2. Add the following to the [_modules] section of your conf.ini file:
    modules_ajax_upload=modules/ajax_upload/ajax_upload.php
    
See also:
http://xataface.com/wiki/modules For more information about Xataface module development and installation.

Usage

This module provides the ajax_upload widget type that can be used in place of the file widget. E.g. If you have a field that you used to use for file uploads with configuration like:

[myfield]
        Type=container

You can change it to use the ajax_upload widget by adding:

widget:type=ajax_upload

to the fields.ini configuration. E.g.

[myfield]
        Type=container
        widget:type=ajax_upload

Support

Xataface Forum

 All Data Structures Files Functions Variables