Elxis CMS Forum
Support => Elxis 4.x/5.x DEV => Topic started by: Luca on November 19, 2012, 10:13:51
-
I wish to use the same template (Delta) for both the mothersite and the subsite but, for the lattest, I want to make customizations in the layout (css, etc.).
Those changes are reflected to the mother site, too.
Is there a way, we say, to make a "copy" of the said template in order to keep layouts separated? If yes, please how?
Thank you.
-
I am not a expert but I believe I can make a suggestion because I faced the same issue some time ago.
Make a copy of the template in the same directory by giving it a different name (delta2, for example). Go to your sub-site and synchronize the new template. After that, go to settings and select the new template as the default. You can make whatever change you want on the new template.
-
Thank you @Hakan Gür,
I get this message during the synchronization:
Installation XML file was not found. Invalid Elxis package!
-
Create a copy of template delta and name it something else, let's say "delta2".
Rename delta.xml to delta2.xml
Open delta2.xml and change <name>delta</name> to <name>delta2</name>
Now zip the whole template and name it something like tpl_delta2_1.0.zip
Delete the delta2 folder as we are going to install the new template the normal way.
Go to the mother site and install tpl_delta2_1.0.zip
Go to the sub-site and synchronize delta2 template.
-
Thank you @Datahell
I've literally performed the actions after your directions, but I still get the "Installation XML file was not found. Invalid Elxis package!" message...
-
Delete any existing "delta2" folder and install the attached one.
It should work fine.
-
@Datahell
Thank you, excellent!
I'll check the differences in order to see the changes, for my knowledge :-*