How to create a new theme for your forum [message #158046] |
Wed, 21 January 2009 15:58  |
naudefj
 Messages: 3645 Registered: December 2004
Karma: 17
|
Senior Member Administrator Core Developer |
add to buddy list ignore all messages by this user
|
|
Follow these easy steps to create a unique custom theme for your forum:
1. Change to your forum's /data/thm directory.
2. Create a new folder for your theme, say "myskin".
3. Copy the files you want to change from the default theme directory (please do not copy everything!). For example, if we only need a different CSS file:
mkdir myskin/tmpl
cp default/tmpl/forum.css.tmpl myskin/tmpl/
4. Edit the copied files, and apply your changes. Also, remove all sections ({SECTION:...}) that you haven't changed for your theme.
5. Navigate to your forum's "Admin Control Panel" -> "Theme Manager". Enter your theme's name, say "myskin", select "myskin" as the "Template Set" and select both "Default" and "Enabled". When done, click "Create".
6. Click "Rebuild all Themes" and return to your forum to see the changes.
Good luck!
Frank
|
|
|
|
|
|
|
|
|
|
Re: How to create a new theme for your forum [message #186569 is a reply to message #186562] |
Thu, 02 October 2014 15:05  |
 |
cpreston
 Messages: 160 Registered: June 2012 Location: Oceanside
Karma: 6
|
Senior Member |
add to buddy list ignore all messages by this user
|
|
This is my understanding and please correct me where I'm wrong:
- If he copies and mods the entire DEFAULT theme, then the minimalistic changes that the path_info and path_info_seo themes (which are based off the default theme) would just work.
- If his mod is based on the path_info_seo template/theme, then it will require work to work those changes back into the default theme if we want to use it.
The important thing is that this theme is going to be a major overhaul. I'm asking for a table-less, W3C-compliant, responsive layout. FF would be only one of two major forums that I can find that have a fully responsive layout. (The other is vbulletin. Go to vbulletin.com/forum and shrink your browser's width as small as you can, and you'll see what I mean. It's totally usable on phones. Do the same with phpbb.com, http://community.invisionpower.com, http://www.simplemachines.org/community/index.php, or phorum.org and you will see they can't do that. My goal is to have FF be able to be fully responsive and mobile-ready.)
If the dream is to make this the new default template for FF, it seems to me that copying and modifying the DEFAULT theme would be the most appropriate thing to do. Or am I looking at this all wrong?
|
|
|