Feature Wiki

Information about planned and released features

Tabs

Option to Hide Title of Item Groups

1 Requirements

At the time being, the ILIAS page editor supports either adding a list of objects of the same type or adding a specific item group to a page. But often you want to add one specific object to the page of a category (or course or group). In this case you need to create an item group with one entry - and unfortunately a title for the item group element.

What is needed:

  • Adding a single object to a page of a category/course/group/... without additional title o.s.e.

1.1 Current and desired implementation

This is how it looks like if you want to offer a single object - here a file - within a text created with IPE. You have only the choice to embed a resource list (here Files) or to add an Item Group.

And this is what I would like to have. Just a simple object as we know it from the repository but no container around. If I want to get rid of the object at this place I simply delete it (and it stays in the category or course or group like it would do when removing it from an item group). It is just a special kind of embedding existing objects of this container.

2 Additional Information

3 Discussion

Killing, Alexander [alex], 2. June 2015: I understand the requirement, but how would the suggested solution look like? How is editing done and more important how the presentation? Do they have an item container DIV around or not?

Kunkel, Matthias [mkunkel], June 02, 2015: I have added to screenshots above to show how it could look like.

JourFixe, ILIAS [jourfixe], June 08, 2015: We see two options.

  1. Item Groups get an option to "Hide the title in presentation". The presentation for non-editors would be as in the screenshot from MK. Users with editing permission would see the title in the header with the action drop down on the right.
  2. The second option would be: "Real" support of single items in the page editor. But this should include drag/drop for all repository items on the screen (also within item groups). In this case objects "under" the page content should be visible in the editor, too, even if not included yet.
We would start with implementing the first option and schedule it for 5.1.

Kunkel, Matthias [mkunkel], June 08, 2015: I rename this feature wiki page from "Allow IPE 2 Embed Single Object" to "Option to Hide Title of Item Groups". This avoids misunderstandings as it still won't be possible to embed a single object in a page without using an item group.

I recommend to present the item group's title (when hidden) in a way that a user with edit permissions identifies it immediatelly as a hidden element, e.g. title in a light grey font followed by a hint (hidden) or something like that. Or you show the hidden title and Actions menu only in "Manage" view (unusual yet, I know - but why not?.

4 Implementation

The "Manage" view now shows the title, even if being hidden (as suggested by Matthias).

Edit Settings of Item Group
Presentation for Author (User having "Edit Settings" permission)
Manage View for Author (User having "Edit Settings" permission)
Presentation for Learner (User having "Read" permission)

Test Cases

Test cases completed at August 20, 2015 by Kunkel, Matthias [mkunkel]

  • #6228 - http://testrail.ilias.de/index.php?/cases/view/6228 : Objekteblock erstellen (existing test case has been extended)

Approval

Tested successfully and approved at August 20, 2015, by Kunkel, Matthias [mkunkel]

Last edited: 19. Apr 2023, 12:27, Kunkel, Matthias [mkunkel]