|(12 intermediate revisions by 3 users not shown)|
"Default" theme is not, actually, the "default " theme. While SMF starts out with it as the base theme, the "Default" theme is only a collection of the default templates. These templates are "fallbacks". If a custom theme doesn't contain some required files, the software will use the corresponding files from the default theme 's directory. |+|
The theme, , the default theme. SMF theme, of the . , the default theme s.
| || |
|−|So, the reason that you should not ever delete the default theme, is that all of your other themes will rely on files that are contained within the default theme' s directory. If you delete those, none of your other themes will work. |+|
you not the default theme, the default theme '.
| || |
|−|It is similar to URLs - if the base domain name isn' t specified, (in example, just /style. css) it uses the default (making the URL, www.simplemachines.org/style. css). In this case, it works a bit different, but the concept is similar. |+|
to ' in . the default , .. this, .
| || |
Latest revision as of 09: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.