New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong media folders created for child template #38725
Comments
The folder creation is static in the TemplateModel and not looking for the parents templateDetails.xml settings: joomla-cms/administrator/components/com_templates/src/Model/TemplateModel.php Lines 1936 to 1944 in 04bf645
joomla-cms/administrator/components/com_templates/src/Model/TemplateModel.php Lines 1963 to 1971 in 04bf645
|
Please test #38986 |
This part is fixed, thanks.
It is not looking for the original folders if i create a child from another template tho. |
Steps to reproduce the issue
Create a child template.
Expected result
It creates the same media folders that the parent is using at media/templates/site/foo and defined in templateDetails.xml.
Actual result
It creates the media folders (css, images, js, scss) and the file folder (html) from cassiopeia, even if i create a child of another template.
If i create a child from cassiopeia it still should not create the html folder in the media path (media/templates/site/cassiopeia) but in the template path (templates/cassiopeia).
System information
Joomla 4.2.2.
PHP 8.0.22
The text was updated successfully, but these errors were encountered: