Differences

This shows you the differences between two versions of the page.

Link to this comparison view

glfusion:development:themes [2010/02/02 02:12]
127.0.0.1 external edit
glfusion:development:themes [2014/05/24 20:20] (current)
Line 44: Line 44:
 <note important>Keep the original Nouveau theme on your webspace! This is not only good for trouble shooting, but will allow you to only include files in your theme that differ from the default versions in the Nouveau directory.</note>  <note important>Keep the original Nouveau theme on your webspace! This is not only good for trouble shooting, but will allow you to only include files in your theme that differ from the default versions in the Nouveau directory.</note> 
  
-Now copy files that you would like to change from the /nouveau directory into new_theme/ directory, and edit the .thtml files to suit your needs. The .thtml files are more or less HTML files with CSS and some JavaScript at times. The directory you just created (new_theme) holds ALL templates glFusion needs apart from those being used by plugins. You will only need to modify a small few to make a huge impact on the look.+Now copy the functions.php file and files that you would like to change from the /nouveau directory into new_theme/ directory, and edit the .thtml files to suit your needs. The .thtml files are more or less HTML files with CSS and some JavaScript at times. The directory you just created (new_theme) holds ALL templates glFusion needs apart from those being used by plugins. You will only need to modify a small few to make a huge impact on the look.
  
 <note idea>You can also create a /new_theme/plugins/plugin_name directory and customize any of the default templates for plugins that aren't found in the normal theme folder. glFusion will always look there for template files before using the default versions from the /private/plugins/ directories. This allows you to easily customize all aspects of the system, for any given theme.</note> <note idea>You can also create a /new_theme/plugins/plugin_name directory and customize any of the default templates for plugins that aren't found in the normal theme folder. glFusion will always look there for template files before using the default versions from the /private/plugins/ directories. This allows you to easily customize all aspects of the system, for any given theme.</note>
Line 62: Line 62:
     * storytext.thtml     * storytext.thtml
     * archivestorytext.thtml     * archivestorytext.thtml
 +
 ===== How themes work ===== ===== How themes work =====
  
Line 103: Line 104:
  
 **Error Message**: It is possible to control what HTML is displayed to non-root users in the event of an error occurring (a crash bug). To do so, you need to change the function CUSTOM_handleError in lib-custom.php to output any HTML you like. **Error Message**: It is possible to control what HTML is displayed to non-root users in the event of an error occurring (a crash bug). To do so, you need to change the function CUSTOM_handleError in lib-custom.php to output any HTML you like.
- 
glfusion/development/themes.1265076736.txt.gz · Last modified: 2014/05/24 20:20 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3