Creating template as Cassiopeia copy

Everything to do with Joomla! 4.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
joesboat
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Oct 01, 2014 6:46 pm

Creating template as Cassiopeia copy

Post by joesboat » Sun Mar 31, 2024 5:53 pm

In 2022 panel user 'aitim' posted the Template Duplication topic and reported successfully copying the cassiopeia installation, renaming all instances of cassiopeia to Sagacic; and deploying. That topic is now locked.

I see the benefit of using a copy of cassiopeia for my home page, and have repeated several of the steps he reports. Have successfully created a duplicate template with one exception - the installation provides the folder base/media/templates/site/<new name> but does not populate the files. I achieve functional success by manually copying files from base/media/templates/site/cassiopeia folder to the one named for the new template.

With that success, I must assume that files in that folder were provided by other joomla 4.x installations. I'd like to confirm this is correct. Please advise.

FYI - I recognize the power of child templates for creating unique overrides for other files but have not figured out how to to use them to override features of the template files. Any guidance appreciated.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44057
Joined: Sat Apr 05, 2008 9:58 pm

Re: Creating template as Cassiopeia copy

Post by Webdongle » Sun Mar 31, 2024 8:50 pm

Create a Child template would be easier https://docs.joomla.org/Help5.x:Templat ... e_selected
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1607
Joined: Tue Jun 30, 2020 12:17 pm

Re: Creating template as Cassiopeia copy

Post by Pavel-ww » Mon Apr 01, 2024 9:02 am

joesboat wrote:
Sun Mar 31, 2024 5:53 pm
In 2022 panel user 'aitim' posted the Template Duplication topic ...
Hi. At that time, Cassiopea did not have a child template option. From the moment this option appeared, the Template Duplication option is no longer available.

When creating a child template, files are not copied. You must copy them manually, only those that you want to override. Files that you are not going to affect are not necessary to copy. They will work through the parent template.


Post Reply

Return to “Templates for Joomla! 4.x”