phpBB

Development Wiki

Difference between revisions of "Style.cfg"

From phpBB Development Wiki

(style.cfg)
(Ascraeus...)
 
(One intermediate revision by one other user 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:
  
 
Located in /styles/<NameofStyle>/
 
Located in /styles/<NameofStyle>/
This file contains the configuration information for the style
 
  
The file contains the following information for use within phpBB3
+
This file contains the configuration information for the style for use within phpBB3 depending on the phpBB-version
<pre>name = X-Treme Silver
+
 
copyright = &copy; 2008 Jimaniac ( phpbb-fox.info )
+
== 3.0.x ==
version =3.0.6</pre>
+
<pre>name = NameofStyle
 +
copyright = &copy; 2009 Name of Creator
 +
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]]
 
[[Category:Styles]]
  
 
[[ja:Style.cfg]]
 
[[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