phpBB

Development Wiki

Difference between revisions of "Style.cfg"

From phpBB Development Wiki

m
 
(Ascraeus...)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==style.cfg==
+
'''style.cfg''' is the phpBB Style Configuration File and is required within a style's directory tree:
  
phpBB Style Configuration File, must be used for all styles installed on phpBB3
+
Located in /styles/<NameofStyle>/
Contains the following information:
+
 
 +
This file contains the configuration information for the style for use within phpBB3 depending on the phpBB-version
 +
 
 +
== 3.0.x ==
 
<pre>name = NameofStyle
 
<pre>name = NameofStyle
copyright = &copy; 2007 Username or Group of Creator
+
copyright = &copy; 2009 Name of Creator
version = 1.2.3</pre>
+
version = X.X.X
 +
</pre>
  
 
Version numbers usually follow the typical [[Version Numbering]] guidelines.
 
Version numbers usually follow the typical [[Version Numbering]] guidelines.
 +
 +
== 3.1.x ==
 +
In 3.1 style inheritance is used and marked with <tt>parent=''MyParent''</tt>
 +
 +
<pre>
 +
name = NameofStyle
 +
copyright = &copy; 2014 Name of Creator
 +
style_version = 3.1.1
 +
phpbb_version = 3.1.1
 +
# template_bitfield = lNg=
 +
parent = prosilver
 +
</pre>
 +
 +
 +
[[Category:Styles]]
 +
 +
[[ja:Style.cfg]]

Latest revision as of 23:06, 15 November 2014

style.cfg is the phpBB Style Configuration File and is required within a style's directory tree:

Located in /styles/<NameofStyle>/

This file contains the configuration information for the style for use within phpBB3 depending on the phpBB-version

3.0.x

name = NameofStyle
copyright = © 2009 Name of Creator
version = X.X.X

Version numbers usually follow the typical Version Numbering guidelines.

3.1.x

In 3.1 style inheritance is used and marked with parent=MyParent

name = NameofStyle
copyright = © 2014 Name of Creator
style_version = 3.1.1
phpbb_version = 3.1.1
# template_bitfield = lNg=
parent = prosilver