View Single Post
Old 03-08-2004, 09:33 AM   #1 (permalink)
Sean
 
Sean's Avatar
 
Title: Founder/Admin
Join Date: Jan 2004
Location: Sydney, Australia
Age: 28
Posts: 8,822
Blog Entries: 3
Rep Power: 10 Sean will become famous soon enough
Send a message via MSN to Sean Send a message via Skype™ to Sean
Re: [phpBB] Step-By-Step Instructions to creating a new template

edit by CyberAlien:

link is temporary broken. here is short version of that manual (in follwing document use your template name instead of "YourTemplate"). i will remove it when link above will be working again:

1. Copy your templates/subSilver/ directory to templates/YourTemplate/ including all subdirectories.

2. 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.

3. Rename subSilver.cfg and subSilver.css to YourTemplate.cfg and YourTemplate.css

4. Open theme_info.cfg and replace all "subSilver" with "YourTemplate" (including all $subSilver[0]... with $YourTemplate[0])

5. 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.

Notes:

1. New template name cannot contain any spaces or dashes in directory name - otherwise it will cause errors and won't install.

2. 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.
Sean is offline   Reply With Quote