Difference between revisions of "Default theme - What is it and why can't I delete it"

From Online Manual

Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
The [[SMF default theme|default theme]] cannot be deleted because, even if you have several other custom themes installed, these themes almost certainly still depend on files in the default theme.  If you were to delete the SMF default theme, none of the other themes would work.  In fact, you should probably avoid making any changes at all in the [[default theme directory]], because doing so might cause some custom themes not to work properly, or make it difficult to install [[modification]]s.
 
The [[SMF default theme|default theme]] cannot be deleted because, even if you have several other custom themes installed, these themes almost certainly still depend on files in the default theme.  If you were to delete the SMF default theme, none of the other themes would work.  In fact, you should probably avoid making any changes at all in the [[default theme directory]], because doing so might cause some custom themes not to work properly, or make it difficult to install [[modification]]s.
  
If you do not want your [[member]]s and [[guest]]s to see the default theme, you can set a different [[forum default theme]]. You can even stop them from seeing the default theme at all, using [[{{Latest docs}}Themes_and_Layout#Manage and Install|Themes and Layout >> Manage and Install]].
+
If you do not want your [[member]]s and [[guest]]s to see the default theme, you can set a different [[forum default theme]]. You can even stop them from seeing the default theme at all, using ''[[{{Latest docs}}Themes_and_Layout#Manage and Install|Themes and Layout >> Manage and Install]]''.
  
If a problem in a custom theme prevents you from using the forum, you will always have the [[SMF default theme]] to fall back on.  Just use '''?theme=1''' in your URL.  If you install a mod that "breaks" the default theme, you either have to get a working set of files back again or use repair_settings.php.  For more on this, please see [[A mod broke my forum]].
+
If a problem in a custom theme prevents you from using the forum, you will always have the SMF default theme to fall back on.  Just use '''?theme=1''' in your URL.  If you install a mod that "breaks" the default theme, you either have to get a working set of files back again or use repair_settings.php.  For more on this, please see [[A mod broke my forum]].
  
 
[[Category:FAQ]]
 
[[Category:FAQ]]
Line 9: Line 9:
 
[[Category:Customizing SMF]]
 
[[Category:Customizing SMF]]
 
[[Category:SMF Themes]]
 
[[Category:SMF Themes]]
[[Category:BFG]]
 

Latest revision as of 10:50, 16 July 2016

The default theme cannot be deleted because, even if you have several other custom themes installed, these themes almost certainly still depend on files in the default theme. If you were to delete the SMF default theme, none of the other themes would work. In fact, you should probably avoid making any changes at all in the default theme directory, because doing so might cause some custom themes not to work properly, or make it difficult to install modifications.

If you do not want your members and guests to see the default theme, you can set a different forum default theme. You can even stop them from seeing the default theme at all, using Themes and Layout >> Manage and Install.

If a problem in a custom theme prevents you from using the forum, you will always have the SMF default theme to fall back on. Just use ?theme=1 in your URL. If you install a mod that "breaks" the default theme, you either have to get a working set of files back again or use repair_settings.php. For more on this, please see A mod broke my forum.