When copying an existing Cassiopeia child template, Joomla creates an inconsistent media directory.
The copied template directory is created correctly, but the associated media directory is created with a different name.
As a result, the Template Editor displays the message:
The template directory is not writable. Some functions will not work.
The directory permissions are correct. The error is caused by the incorrect media directory name.
Steps to reproduce
Create a Cassiopeia child template (for example cassiopeia_child_altlayout).
Open System → Site Templates.
Select the existing child template.
Click Copy Child Template.
Enter xy as the new template name.
Open the copied template in the Template Editor.
Actual result
The following directories are created:
/templates/cassiopeia_child_xy
/media/templates/site/cassiopeia_xy
The media directory is missing the child part of the template name.
The Template Editor reports:
The template directory is not writable. Some functions will not work.
although the directory permissions are correct.
Expected result
Both directories should use the same generated template name:
/templates/cassiopeia_child_xy
/media/templates/site/cassiopeia_child_xy
Workaround
Rename
/media/templates/site/cassiopeia_xy
to
/media/templates/site/cassiopeia_child_xy
After renaming the directory, the Template Editor works normally.
| Labels |
Removed:
?
|
||
| Labels |
Added:
No Code Attached Yet
|
||
okay you are on 6.1.3-rc. the issue occurs on 6.1.2
no difference
The following directories are created:
/templates/cassiopeia_child_xy /media/templates/site/cassiopeia_xy
Are you sure?
Correct would be /templates/cassiopeia_xy /media/templates/site/cassiopeia_xy
This is when I follow your description (and what the videos show).
You didnt say which version of Joomla but I just tested joomla 6.1 and I cannot replicate this
thorium_HeO63Bf2bQ.mp4