Content / Theme basics / File "theme.xml"

File "theme.xml"

what elements in theme.xml mean

comments: 0
At the start just rename name of theme (attribute name in e107Theme element). This file is easy to understand. There is an example of advanced settings for theme too, so you can look how many things you can set in this file.

Version 2Version 1Description
<e107Theme name="Starter"$themename = "e107.v4";define the theme name
<e107Theme version="2.0"$themeversion = "1.0";define the theme name
<e107Theme date="2017-04-15"$themedate = "11/06/2003";define the theme date
<e107Theme compatibility="2.0"define the theme compability
<e107Theme livedemo='http://e107.org'Link to live demo
<author name ="e107"$themeauthor = "jalist";define the theme author
<author email="..."define email contact to the theme author
<author url="..."define the theme author website


All these values you can see in Theme Manager as Site theme info.
5fe313119c80

New in version 2:


Version 2 Description
<e107Theme><plugins></plugins></e107Theme> List of plugins you can install directly from Theme manager. System checks if they are installed or not. If your theme needs some core or non-core plugins.

B1a73a950fd7

Version 2 Description
<e107Theme><stylesheets></stylesheets></e107Theme> If your theme has more css for color settings (with boostrap it’s easy), you can switch between them in theme manager

50d0e22d0976

Version 2 Description
<e107Theme><layouts></layouts></e107Theme> Available layouts that you can define in theme.php. You can set pages with this layout, default layout and menus for this layout (you can set them in Menu manager too)

1e3447ffdffc

Advanced:

Version 2 Description
<e107Theme><libraries></libraries></e107Theme> Another way how to use libraries in theme
<e107Theme><glyphicons></glyphicons></e107Theme> Load different icon set in theme
<e107Theme><themePrefs></themePrefs></e107Theme> Default values for theme prefs