Skip to content

Template inheritance #34728

Answered by dgrammatiko
barsdeveloper asked this question in Q&A
Discussion options

You must be logged in to vote

Inheritable (child) templates are also supported in joomla 4 since #30192 but the component that manages templates is not yet compatible with the new code. There’s a PR #32896 for it but it’s unlikely that will be merged in time for 4.0.0.

anyways the changes that you need to have inheritable templates are:

For the devs the new parts are 2:

  • manifest requires a tag 1 to enable a template in the new mode
  • all static assets and also any static asset override should be done in the media/( administrator || site )/templateName. Folders like css/js/images inside the above path will act exactly the same as they did in the old templates/name/( css || js || images )

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@barsdeveloper
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by barsdeveloper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants