Feature Wiki

Information about planned and released features

Tabs

Switching between content styles

1 Initial Problem

It is not possible to change the default content style without affecting all existing objects. This leads to some problems when the content style is revised and deviates from the old default content style. If you then change the default content style, the content style of ALL objects changes. "Old" content becomes unusable.

2 Conceptual Summary

Switching between content styles is possible between learning modules. Since the content style can now be used in a variety of objects, this option should be adapted to "Change content style from".

This option is used to change the content style of ALL objects that use the current Standard Content Style and not a Individuell Stylesheet. This way, the default style sheet can be fixed for old objects and a new global default style can be introduced.

Example:

  1. Export the outdated Standard Content Style.
  2. Import the outdated Standard Content Style and rename it "Standard Style Outdated".
  3. Change the Content Style from Standard to "Standard Style Outdated".
  4. Create a new Standard Content Style.

To know which objects use which content style, an overview should be introduced.

In the dropdown menu of a Content Style, a "Usage"-entry is displayed. If the user clicks on the entry, the "Usage"-tab is displayed in the content style. All objects and their path are listed here.

3 User Interface Modifications

3.1 List of Affected Views

  • Administration » Layout and Navigation » Layout

3.2 User Interface Details

3.3 New User Interface Concepts

None.

3.4 Accessibility Implications

No Accessibility Implications.

4 Technical Information

No technical issues.

5 Privacy

General privacy information of the component: Content Style PRIVACY.md.

This feature does not implement any privacy related changes.

6 Security

No security issues.

7 Contact

8 Funding

If you are interest in funding this feature, please add your name and institution to this list.

9 Discussion

2022-05-04, Mela, Alix [ILIAS_LM]
Usage/Path: Will the objects and/or the context be clickable as in Role Assignment on a user account? This would be helpful when one wants to migrate some styles or check the object.

Seiler, Yvonne [yvseiler], 16 MAY 2022: Thanks for the request. It is good that the same pattern is introduced here as for the system styles, since these two screens are also close to each other.

What happens if a content style is deleted, but an object was still using it? Is this not possible at all or does the object continue to use it as a ghost style or is the default style set in this case?

In the System Styles there is an entry "Others" in the dropdown for such cases. With this it is possible to address styles that no longer exist and transfer the users to a new System Style. Would it make sense to introduce this option for the Content Styles as well? 

JourFixe, ILIAS [jourfixe], 16 MAY 2022 : We highly appreciate this suggestion and schedule the feature for ILIAS 9.

10 Implementation

{ The maintainer has to give a description of the final implementation and add screenshots if possible. }

Test Cases

Test cases completed at {date} by {user}

  • {Test case number linked to Testrail} : {test case title}

Approval

Approved at {date} by {user}.

Last edited: 2. Oct 2023, 10:24, Kunkel, Matthias [mkunkel]