Difference between revisions of "Extension talk:ListView.php"
From Organic Design wiki
(the idea) |
m |
||
Line 1: | Line 1: | ||
This extension adds a '''view as list''' action which allows categories or articles containing lists of article links to be rendered as a sortable list. | This extension adds a '''view as list''' action which allows categories or articles containing lists of article links to be rendered as a sortable list. | ||
*This list will be able to be sent to a special page allowing operations to be performed on them all. | *This list will be able to be sent to a special page allowing operations to be performed on them all. | ||
− | *If all the articles in the list share a particular template in common and that template is a member of [[:Category:Record templates]], then the template will be used to render the content of each row, and an edit link will be supplied which allows the row to be edited in | + | *If all the articles in the list share a particular template in common and that template is a member of [[:Category:Record templates]], then the template will be used to render the content of each row, and an edit link will be supplied which allows the row to be edited inline AJAX'ly if the same name as the template has a correspoding form article in the ''Form'' namespace. |
+ | *The edit link for each row reveals the form and hides the record | ||
+ | *When the form is submitted, the response is the updated row which replaces and reveals the current record and hides the form. | ||
+ | *A cancel button in the form hides the form and reveals the record without any AJAX update | ||
+ | *Clicking edit on another row cancels existing edit views |
Revision as of 09:30, 19 April 2008
This extension adds a view as list action which allows categories or articles containing lists of article links to be rendered as a sortable list.
- This list will be able to be sent to a special page allowing operations to be performed on them all.
- If all the articles in the list share a particular template in common and that template is a member of Category:Record templates, then the template will be used to render the content of each row, and an edit link will be supplied which allows the row to be edited inline AJAX'ly if the same name as the template has a correspoding form article in the Form namespace.
- The edit link for each row reveals the form and hides the record
- When the form is submitted, the response is the updated row which replaces and reveals the current record and hides the form.
- A cancel button in the form hides the form and reveals the record without any AJAX update
- Clicking edit on another row cancels existing edit views