Theme: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
An SMF theme is what defines the look and feel of your forum -- what is sometimes referred to as "skin"Every new installation of SMF comes with the default theme.  The administrator is free to install other themes, and to choose which of the installed themes to enable.
An SMF theme defines the look and feel of your forum.  The theme sets the order the various elements appear on the page, what colour they are, and whether there are any interactive elements includedThe same forum content might look very different when viewed using a different theme.  The [[administrator]] installs and manages themes from [[{{Latest docs}}Themes and Layout|Themes and Layout]].  For more information on what goes into a theme and how to create or modify a theme, please see [[:Category:Developing_Themes|Developing Themes]]
 
Themes are managed in the [[Themes and Layout]] section of the administration center -- theme settings and options can be change, new themes can be installed or created as copies of existing themes, and even editted from here.SMF comes with a limit of 256 installed themes, and Themes and Layout administration is designed to deal with fewer than 100 installed themes.
 
Each theme consists of a collection of templates written in php, plus translatable text strings (in language files), accompanied by images, CSS stylesheets, and other files. Together, these create the HTML, the colors, pictures, and other styling, and the interactive actions users find on the completed page. The SMF software finishes creating all the page content before it call's the theme's template files to start writing any HTML.  This separation of content from layout makes it possible to completely rearrange the way content is presented on a page without needing to make any changes to how the software creates the content.  The [[:Category:Developing_Themes|Developing Themes]] category of this manual has more information on creating SMF themes.
 
<noinclude>
<noinclude>
[[Category:Developing SMF]]
[[Category:Developing SMF]]

Latest revision as of 16:05, 30 April 2016

An SMF theme defines the look and feel of your forum. The theme sets the order the various elements appear on the page, what colour they are, and whether there are any interactive elements included. The same forum content might look very different when viewed using a different theme. The administrator installs and manages themes from Themes and Layout. For more information on what goes into a theme and how to create or modify a theme, please see Developing Themes



Advertisement: