Contao Open Source CMS > Enhance > Extension list > [ajax] Ajax-Tools 1.1.3 stable

Extensions > ajax

[ajax] Ajax-Tools

Simplier and faster usage of AJAX in TYPOlight.

This extension adds a helper script "ajax.php" to the system root. Using this script allows you to make Ajax-requests a lot simplier. This extension is provided for other developers to use in their extensions!

Usage

ajax.php can be used in the Mootools Request-Class as an url. To run the default features, you only need to pass two GET-parameters:

  • action: The action to execute, can be either "fmd" (Frontend Module), "cte" (Content Element) or "ffl" (Form field).
  • id: The ID of your class.


By passing those two parameters, the function called generateAjax() is called on your Module/Content Element/Widget. This allows you to switch the template or trigger future actions. A simple example can be found in the calendarbanner extension.

Special case "Widget"

Compared to frontend modules and content elements, a widget does not (have to) be in the database. This means the ID cannot match a data record. When generating the widget you should set the $_SESSION['AJAX-FFL'] array with the required data. An example can be found in the extension FancyUpload (Release 2).

Version1.1.3 stableTypeFree
Release date2011-11-09CategoryUtility
LicenseLGPL
Copyright© 2009-2011 Andreas Schempp
AuthorAndreas Schempp (andreas.schempp) http://www.iserv.ch/
Release notes and change log for 1.1.3 stableOther versions

Fixed issue in version 1.1.2

1.0.0 stable
1.0.1 stable
1.0.2 stable
1.0.3 stable
1.0.4 stable
1.0.5 stable
1.0.6 stable
1.0.7 stable
1.1.0 stable
1.1.1 stable
1.1.2 stable
Release functionality Total functionality
10.00
Release usability Total usability
10.00
Release quality Total quality
10.00
Release rating Total rating
10.00 (4 votes)
Release downloads260Total downloads1811
Release installs2808Total installs10671
Release updates969Total updates4101
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.8.0 stable2.11.2 stable
NameVersion fromVersion to
catalog_ajax_tools0.0.1 alpha10.0.1 alpha1
cegalleryxt1.0.0 beta11.0.0 beta1
cfs_jquery_gui0.1.0 stable0.3.0 stable
gallery_creator1.0.0 stable3.1.1 stable
immomanager2.0.0 stable2.0.0 stable
isotope1.3.0 beta21.3.1 stable
NumberImageCaptcha0.4.0 stable0.4.1 stable
PictureCaptcha-Ajax1.0.2 stable1.0.2 stable
ScrollPane0.9.9 beta21.0.0 rc2
valumsFileUploader2.0.0 beta13.1.0 stable
PackageSizeDate
Contao_ajax_10010039_8.zip70972012-04-04 10:23