PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
6 Sep 2025

Pull Request for Issue # .

Summary of Changes

  • Modularize the cassiopeia (using Layouts) so changes on a child template could have a really small impact

Testing Instructions

Check that all 3 entries (index, error, offline, and component) are rendering exactly the same as before

Actual result BEFORE applying this Pull Request

Way too much code to sync between parent and child template

Expected result AFTER applying this Pull Request

No visual changes!

index
Screenshot 2025-09-06 at 1 31 28 PM

offline
Screenshot 2025-09-06 at 1 30 39 PM

error with debug
Screenshot 2025-09-06 at 1 41 31 PM

error no debug
Screenshot 2025-09-06 at 1 42 09 PM

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar dgrammatiko dgrammatiko - open - 6 Sep 2025
avatar dgrammatiko dgrammatiko - change - 6 Sep 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Sep 2025
Category Front End Templates (site)
avatar dgrammatiko dgrammatiko - change - 6 Sep 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 6 Sep 2025
avatar dgrammatiko dgrammatiko - change - 6 Sep 2025
Labels Added: PR-6.0-dev
avatar dgrammatiko dgrammatiko - change - 6 Sep 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 6 Sep 2025
avatar chmst
chmst - comment - 6 Sep 2025

Looks good and a test on a fresh installation is flawless.
But what does it mean for users who are using template overrides and have made changes in the index.php?
Is it compatible with th PR #46034?

avatar brianteeman
brianteeman - comment - 6 Sep 2025

If they have made a change in their index.php then they already have issues because we have updated that file multiple times

avatar richard67
richard67 - comment - 6 Sep 2025

If they have made a change in their index.php then they already have issues because we have updated that file multiple times

@brianteeman Well, I do that on my home page. The override checker shows me if something has changed. I've never had any issues.

avatar brianteeman
brianteeman - comment - 6 Sep 2025

thats what i meant

avatar dgrammatiko
dgrammatiko - comment - 6 Sep 2025

But what does it mean for users who are using template overrides

they could keep the old override or create a specific layout override with their change. Both will work…

avatar dgrammatiko
dgrammatiko - comment - 6 Sep 2025

FWIW this modular approach makes it way easier to keep track of changes and also is less code for the maintainers…

avatar dgrammatiko
dgrammatiko - comment - 6 Sep 2025

Is it compatible with th PR #46034?

Yes, although if this PR is merged then probably we should override the layout templates/cassiopeia/html/layouts/cassiopeia/params_evaluator.php and add/remove the assets/inline css there

avatar chmst
chmst - comment - 6 Sep 2025

No problems found with my own child templates with own index.php.
Needs some documentation but seems to be a good solution.

avatar brianteeman
brianteeman - comment - 6 Sep 2025

The more I think of it the more I think this (good idea) is something that should be done with a new site template and not with Cassiopeia. every site using Cassiopeia (even without modification) will get a notice in the admin after update that they have to check their template. Creating "worry/extra work" for everyone on update.

Add a Comment

Login with GitHub to post a comment