Skip to content

Move /templates/default directory was moved from /UI/src to /UI#11082

Open
BettyFromHH wants to merge 1 commit intoILIAS-eLearning:release_10from
BettyFromHH:PR/R10/UI/Templates/Modify-Template-Directory
Open

Move /templates/default directory was moved from /UI/src to /UI#11082
BettyFromHH wants to merge 1 commit intoILIAS-eLearning:release_10from
BettyFromHH:PR/R10/UI/Templates/Modify-Template-Directory

Conversation

@BettyFromHH
Copy link
Contributor

To harmonize the template directories of all components, the /templates/default directory was moved from /UI/src to /UI, and the files for changing the path were adjusted.

As a result, all components now conform to the structure {component name}/templates/default.

This change simplifies the management of custom skins and standardizes the way templates are used.

…he files were adjusted to reflect the path change.
@BettyFromHH BettyFromHH added kitchen sink improvement php Pull requests that update Php code css/html Pull requests that propose changes to CSS/SCSS or HTML files. labels Feb 6, 2026
@kergomard
Copy link
Contributor

Hi @BettyFromHH

As far as I see the /template/ directory is legacy and not for the future. See: https://github.com/ILIAS-eLearning/ILIAS/blob/release_10/docs/development/components-and-directories.md .

The structure in UI-Components is correct.

Best,
@kergomard

@BettyFromHH
Copy link
Contributor Author

@kergomard

The exact structure within a component isn't precisely defined and, to my knowledge, isn't documented anywhere. Since all components, except the UI component, have the /template/default directory directly under their component name, it only makes sense to implement this for all components for now. Mixing them would cause unnecessary overhead and extra work for custom skins.

The changes in this pull requests (and the cherry-picks) were discussed with @thibsy and have been implemented by order of him.

@dsstrassner
Copy link
Contributor

lang and template and stay as is for the time being, as the system can only support a certain amount of change per timeframe. In the long run it seems advisable to move these folders as well. lang might be a candidate to be split up into single components as well. templates might be moved completely into the UI-framework once legacy UI components are removed completely.

?¿?

At least add the JF Label, as the linked .md was presented, discussed, and decided by the JourFixe.

Are you sure that a change this big more than 6 months after the release of ILIAS 10 is necessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css/html Pull requests that propose changes to CSS/SCSS or HTML files. improvement kitchen sink php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants