SMF default theme: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The default theme is part of the SMF installation which contains the base templates and language files that will make the forum display correctly. Modifying the default theme or deleting files that are part of it will make it difficult to upgrade, install, modify, or add more themes in the future. It is strongly recommended to keep the default theme in one piece, so that if a file is corrupted or missing from another theme it will be possible to revert to the default theme.
The '''SMF default [[theme]]''' is the default look-and-feel theme supplied with the SMF installation in the [[default theme directory]]. It may be different from the [[forum default theme]]. If you change the files in the default theme directory, then you will have something slightly different from the SMF default theme in that directory.  This could cause problems when you wish to install [[Modification (term)|modification]]s or [[patch (term)|patches]]. It may be better to leave the SMF default theme alone, create a copy of it, and make customizations to the copy.  <noinclude>{{For more information|about=working with themes|Creating and Understanding Themes}}.


If it is necessary to modify the default theme the best way is to make a copy and modify it. If something is incorrect, or missing in the modified theme the forum will not be affected in any way. The reason is modified themes often use templates or language files that the default theme has, and if a template or a language file is missing or corrupted, SMF will look for these templates in the default theme.
Keep in mind that images and style sheets from the default theme are not part of the fall back system. The purpose of the fall back system is to make the theme development easier. For theme development please refer to [[Creating and Understanding Themes]].
<noinclude>
[[Category:SMF terminology]]
[[Category:SMF terminology]]
</noinclude>
</noinclude>

Latest revision as of 21:20, 29 April 2014

The SMF default theme is the default look-and-feel theme supplied with the SMF installation in the default theme directory. It may be different from the forum default theme. If you change the files in the default theme directory, then you will have something slightly different from the SMF default theme in that directory. This could cause problems when you wish to install modifications or patches. It may be better to leave the SMF default theme alone, create a copy of it, and make customizations to the copy. For more information about working with themes, see Creating and Understanding Themes.



Advertisement: