Personal tools

Updating template articles with an Ajax form

From OrganicDesign Wiki

Jump to: navigation, search
Example broken: For Safari web browsers, this example is currently broken, probably due recent changes to Extension:SimpleForms.php
Template:ExampleContact is a template for placing into article that represent contacts. The template includes an Ajax form created using Simple Forms which can be used to select and adjust all of the articles using the template.

Name:

Phone:
Address:

There are three articles that use the template. After loading a contact from the list, an "edit" link appears which allows you to view the source of the contact article with the usual MediaWiki edit form. The information can be changed and then will be updated via Ajax when the "save" button is clicked.

The GNU Project Debian Linux Ubuntu Linux Wikipedia online encycopedia MediaWiki