[TYPO3-hci] Some brainstorm on Listview

Daniel Pötzinger operation-lan at gmx.de
Mon May 29 22:14:43 CEST 2006


Hello

Since I had the idea to use the Listmodul instead of a own BE-Moduls I 
had a short look at the Listmodul implementation. And just as Martin K. 
said it is a bit old and could need some refactoring with a well defined 
class-structur

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)
  -access much more functions (like "new", "edit", "versioning")...



Here are my ideas:

make the Listview more dynamic to enable individual configuration per table:
-----------------------

1) 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.

2.) Control the options (control-buttons behind a record) (per TSconfig)

  - 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")

3.) Control which records should be shown
(e.q. with an extra Querywhere or some flags... so you could hide 
records with certain properties)


4.) Possibility to add completly new Control-Buttons (per TCA)
-I think this is a very powerful possibility... there are many usecases.

For example:
4.A) Say you have "events" and in the Listview there are a button says 
"show registered users" behind every entry...
4.B.) Or the news: You have newscategories and buttons "create new 
subcategory" (to allow user friendly BE input)

Therefore I suggest the possibility to add new buttons with TCA (perhaps 
also per TSConfig) and
to improve the possibility to set defaultValues for new records (support 
for MM relations etc..)
(There should be a way to use common functions or to use own userfuncs 
for the buttons...)

5.) Improve the single-list view:
-possibility to set the "singlelistview" as default for certain 
sysfolders (or pages) per TSConfig

-enable a Treeview of records in this singleListView (e.q. for the 
newscategories)


6.) And of course connect it with a refactored skinning API...


What current plans are existens for the development of the Listview?

Greetings

Daniel Pötzinger







More information about the TYPO3-team-hci mailing list