So, what is the best approach to add some js and css files in a child template?
I'm trying with the 'joomla.asset.json' file.
But this file is located in the parent template folder (templates/cassiopeia), shall I have a local 'joomla.aset.json' file for my child template? When I created this child template, such a file didn't duplicate.
I want modifications to be specific for this child template only.
Is there a better approach? By better I mean fast in the first place, so I prefer writing some code, than installing extensions and plugins.
I'm trying with the 'joomla.asset.json' file.
But this file is located in the parent template folder (templates/cassiopeia), shall I have a local 'joomla.aset.json' file for my child template? When I created this child template, such a file didn't duplicate.
I want modifications to be specific for this child template only.
Is there a better approach? By better I mean fast in the first place, so I prefer writing some code, than installing extensions and plugins.
Statistics: Posted by pl71 — Tue Mar 26, 2024 7:11 am