Templates and Themes


Themes and Templates contain the style and the layout of your forum. Both themes and templates may be edited through the Admin CP, thus giving you access to customize the visual component of your forum, easily from anywhere using a browser.

Contents

[edit] Themes

The themes contain most of the information to generate a CSS file for the templates. Using the Themes manager you can customize various colors, backgrounds, borders, and other style elements using Cascading Style Sheets (CSS).

[edit] Templates

Each page is made up of one or more "templates". Templates hold the HTML of the page, and contain variables that are replaced when each page is generated. Templates can be edited using the Template manager.

[edit] Importing Released Themes and Templates

Themes and templates available for download on sites such as MyBB Mods usually come with a .xml file with the theme/template data, various image files, and a readme (although this is up to the author). If there is a readme, usually the instructions on importing the theme would be written for you there (where to upload the images, etc). The following is a generalized procedure for importing themes and templates:

  1. If there are images that come with the theme, upload them to the images folder.
  2. You have an option on what to do with the .xml file:
    1. Upload it to your server (anywhere within the MyBB folder will do, as long as you know where it is); or,
    2. Upload it later to the server when it is time to import the theme via the Theme Manager (if the upload is too big for your server, use the first method above)
  3. Use the import utility of the Themes manager. If you decided to go with the latter option above, select the .xml file for upload. If you uploaded the .xml file to the server, type in the path to the .xml file relative to the MyBB root folder.
  4. If the import is successful, congratulations!

[edit] See Also


This page was last modified 21:53, 27 September 2007.