Contao Open Source CMS > Enhance > Extension list > [ajax] Ajax-Tools 1.0.4 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.0.4 stableTypeFree
Release date2009-11-10CategoryUtility
LicenseLGPL
Copyright© 2009 Andreas Schempp
AuthorAndreas Schempp (andreas.schempp) http://www.iserv.ch/
Release notes and change log for 1.0.4 stableOther versions
By setting parameter g=1 you can now run the generate() function instead of generateAjax() on frontend modules and content elements.1.0.0 stable
1.0.1 stable
1.0.2 stable
1.0.3 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
1.1.3 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 downloads486Total downloads1649
Release installs1807Total installs9094
Release updates369Total updates3721
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.7.0 stable2.9.0 stable
NameVersion fromVersion to
auto_completer1.1.1 beta11.7.0 stable
dma_catalogajax0.0.1 stable0.0.2 alpha1
fancyupload2.0.0 rc12.0.0 rc1
flexi_moviedb1.0.1 stable1.0.1 stable
isotope0.1.0 beta11.3.0 beta1
NumberImageCaptcha0.3.0 beta30.4.1 stable
PictureCaptcha-Ajax1.0.1 stable1.0.1 stable
RecordLookup0.0.1 alpha10.0.1 rc1
starrater0.0.1 alpha10.0.1 alpha1
tablelookupwizard1.1.1 stable1.1.2 stable
valumsFileUploader1.0.0 rc12.0.0 beta1
Web_Gallery_Creator1.0.7 stable1.0.8 stable
yw_w3c_validator0.0.1 rc11.0.0 stable
PackageSizeDate
Contao_ajax_10000049_10.zip51732011-08-11 20:17