XF 2.0 Made a mistake - Theme

tmoflash

Member
I accidentally overwrote my default theme. Is there a way to keep my theme I have and import default theme to use as a parent?

- Can I export theme, rename the default folder to another name
- Import default theme (not sure how to get the xml file)
- then upload newly named theme
- import xml as a standalone and/or child?

Above is just a guess on how to solve, but I wanted to see if this is possible or if there is a better way.
 
Just export your theme to have a backup and then create a new theme without any parent theme. This way, you will still have your modified theme. Every new theme is based on the default theme. In turn, this means that every modified theme is also based on the default theme, so you don't need to declare your style as a child of the default style.
 
Well, that's pointless because almost every XF version contains modified templates, so this will work only with the XF version you have exported the style from. Hence, creating a new style is the easiest and safest way to recreate the default style.
 
Why pointless?

I myself had by accident deleted the default style - xml file is from version 2.0.7 and gives you back the default style.
The templates for this style on my forum are not altered.
 
Back
Top Bottom