Feature Wiki
Tabs
Customizable List/Tile View for Modules/ItemGroup
Page Overview
[Hide]1 Initial Problem
Containers, i.e. Courses, Groups and Categories have an option for List/Tile view, that forces all Items to be shown in a specific manner.
However, in some cases it would make sense to change -some- ItemGroups to a different view.
For example if:
- The container is set to 'tile' view, but you have a list of items, that don't/can't have a picture (i.e. Links)
- You have a rather large list of items, that's better set to 'list', while the rest should keep the 'tile' setting
- You want the learner to focus on a single Object, that is shown as 'tile', while the rest is optional and can be shown as a 'list'
2 Conceptual Summary
- A field named 'list_presentation' is added to itgr_data.
- An option to set it is added to the itemGroup settings GUI
- Possible states are:
- 'list' = force list view
- 'tile' = force tile view
- '' (empty) = default / use main container's settings
- Every time a group of items is generated it is being checked if the group has it's own view setting and if it does, the main container's view setting is temporarily overwritten
- After all items in group were generated the view setting is reverted back to the main container's view setting, so it wouldn't cause issues on lists without custom settings
3 User Interface Modifications
3.1 List of Affected Views
Not sure what is meant here.
2 GUI classes are affected:
- The ItemGroup settings receive an option to change it's view
- All Containers are affected as they can be customized a little bit better
3.2 User Interface Details
A set of radio-Buttons is added to the ItemGroup's settings.
3.3 New User Interface Concepts
Not applicable.
4 Technical Information
(at least) following classes have to be modified:
- ilItemGroupAR
- ilItemGroupDataSet
- ilObjItemGroup
- ilObjItemGroupGUI
- ilContainerRenderer
- ilContainerContentGUI
5 Privacy Information
none
6 Security Implications
No security implications.
7 Contact
- Author of the Request: Alex Hartwig, TRANSFER GmbH, Zenzen, Enrico [ezenzen]
- Maintainer: Alexander Killing, Leifos GmbH (?)
- Implementation of the feature is done by: Alex Hartwig, TRANSFER GmbH
8 Funding
If you are interest in funding this feature, please add your name and institution to this list.
9 Discussion
JourFixe, ILIAS [jourfixe], 21 OCT 2019: We highly appreciate this suggestion and schedule the feature for ILIAS 7. Please contact the maintainer Killing, Alexander [alex] for getting a review of the PR and support to commit the code.
Killing, Alexander [alex], 7 Jan 2019: Thanks for the PR! Main parts of the code can be used, some things needs refactorings and I would need some funding for the code maintenance. We are looking to get this, and I am optimistic that this will make its way into ILIAS 7.
JourFixe, ILIAS [jourfixe], 25 JAN 2021: We highly appreciate this suggestion and schedule the feature for ILIAS 8.
10 Implementation
The feature has been already implemented on a Git-Fork and seems to be pretty stable.
Pull request to main trunk: https://github.com/ILIAS-eLearning/ILIAS/pull/2037
Here are some screenshots (more can be provided if needed):
I also wouldn't mind providing testing access for our dev-mode ILIAS with 'course admin' rights so that you could try it for yourself.
Test Cases
Test cases completed at 10 NOV 2021 by Zenzen, Enrico [ezenzen]
- C49240: Objekteblock auf Kachel-Anzeige umstellen
Approval
Approved at 15.04.2021 by Lenich, André [andre.lenich].
Last edited: 10. Nov 2021, 13:49, Zenzen, Enrico [ezenzen]