* Created a folder for the template.
* Added index.php & templateDetails.xml, plus the css & js files
* Included all the files in the .xml document like so:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 3.0//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/3.0/template.dtd">
<extension type="template" version="3.9" client="site" method="upgrade">
<name>GardenTemplate</name>
<creationDate>March 2024</creationDate>
<author>F.P</author>
<version>1.0</version>
<description>My Custom Joomla Template</description>
<files>
<filename>index.php</filename>
<filename>css/style.css</filename>
<filename>js/script.js</filename>
<!-- Add other files here if needed -->
</files>
</extension>
* Set the new template as default.
The markup itself is being displayed, but the css and js doesn't work for some reason. I tried clearing the cache in both the browser & in Joomla Admin, but it doesn't seem to fix anything.
What causes this and how can I solve it?