Creating a Child Template in Joomla!
Child templates are one of the greatest features introduced in Joomla! 4.1, and they address a long-standing request from Joomla! users to have a more flexible platform.
Before child templates appeared, you could clone a site template and edit it to fix your needs, but managing updates was cumbersome, as you must create an update package for your clone, taking into account your changes. Child templates address this issue, replacing the need to duplicate all the files of a template.
In this chapter, we are going to create our own child template from Joomla’s Cassiopeia template. That will allow us total flexibility when developing our custom web apps. We can modify child templates as much as we need and modify their module positions, or even replace assets. We will see how to identify templates that allow child templates, how to manage template overrides in child templates, and finally, how we can reuse our child templates on other sites...