This tutorial will teach you how to create a new template directory for phpBB2.
- Copy your templates/subSilver/ directory to templates/YourTemplate/ including all subdirectories.
- In all .tpl files inside templates/YourTemplate/ replace all instances of “subSilver” with “YourTemplate”. You can do that in any text editor with search/replace feature. Make sure that “YourTemplate” is exactly the same as your directory name. It is case-sensitive, so “YourTemplate” and “yourtemplate” are different names.
- Rename subSilver.cfg and subSilver.css to YourTemplate.cfg and YourTemplate.css
- Open theme_info.cfg and replace all “subSilver” with “YourTemplate” (including all $subSilver[0]… with $YourTemplate[0])
- Save all modified files. You’ve got yourself a new template. Now you can install it in admin control panel (this document will help you) and edit colors in admin control panel and edit tpl files.
Please note:
- New template name cannot contain any spaces or dashes in directory name - otherwise it will cause errors and won’t install.
- Template name is case-sensitive. Make sure that YourTemplate inside .tpl files and theme_info.cfg and in filenames of .cfg and .css files are exactly the same as directory name.
Originally written by Cyberalien @ phpBB.com


