RFC Listview improvements
From TYPO3Wiki
| Request for Comments: xxxx
Obsoletes: Category: Informational
| Daniel Pötzinger
11.06.2006 |
Contents |
[edit]
RFC Listview improvements
[edit]
Status of this Memo
This memo provides information for the TYPO3 community.
It is currently in work and also has to be structured to some common TYPO3 RFC Rules.
Distribution of this memo is unlimited.
[edit]
Introduction
As you know the Listview enables you:
- to see all records in a page (grouped by table)
- to have a "single" listview of a table (with the options like "search" and "set fields")
- to work with clipboard (experts)
- and to access much more functions (like "new", "edit", "versioning") for records.
There are some reason to improve the Listview:
- Usability Improvements (see Featurelist)
- Often special backend modules do something very similar to the listmodule. So they could be implemented with extending or adjusting the list module. ((limited to special tables) and adding some special options.)
- The implementation is a bit old and could need some refactoring.
[edit]
Purpose
To have a well structured, scalable Listview Implementation with all the options it has today and some more.
[edit]
Improvements
[edit]
common
- More Control and flexible Configuration, to use the Listview optimal for diffrent purposes:
- Control which tables should be shown (per TSConfig)
- so it is possible only to show "News" on the "News-Sysfolder" and only show "Fe-Users" on another page
- also it is possible to hide "tt_content" entrys in a TV based website.
- Control the options (control-buttons behind a record) (per TSconfig/TCA)
- means the possibility to (add) or hide some buttons (like "delete", "new" and so on)
- possibility to make them more userfriendly (e.q. large Buttons with text like "Create New")
- skin aware
- possibility to set the "singlelistview" as default for certain sysfolders (or pages) per TSConfig
- Label field of Records should allow combining more than one field. (e.g. Label="surname, lastname")
- Control which records should be shown
- e.q. with an extra Querywhere or some flags... so you could hide records with certain properties
- Control which tables should be shown (per TSConfig)
- add a common resultset-browser to be able to comfortably browse through lists with huge amount of records (~>100)
- Enable a Treeview for Records
- Powerful Search Function in Listview
- Search for separate fields. (Searchform depends of Fieldtype)
- Possibility to add completly new Control-Buttons (per TCA)
- I think this is a very powerful possibility
- Example 1: Say you have "events" and in the Listview there are a button says "show registered users" behind every entry
- Example 2: Or the news: You have newscategories and buttons "create new subcategory" (to allow user friendly BE input)
- Possibility to see which records belongs to which extension. (e.g. by Tooltip or extrainfos in the wizard or headline)
[edit]
technical
- Possibility to use listview by extending control-options and adjust settings from extensions (per TCA)
- Possibility to inherit from the Listclass(es) and use the List-API for creating own BE-Modules.
[edit]
Needed changes and Core adjustments
[edit]
high priority
[edit]
low priority
- change on TCE: improve the possibility to set defaultValues for new records (support for MM relations etc..)
[edit]
Analysis
Later: Discussions to class-structure
[edit]
Implementation
Later: Specific implementation details
[edit]
Use Examples
Later: Maybe link to a documentation.
[edit]
