Table of Contents
Themes
This article discusses how to change the look and feel of your Fusion Ticket installation.
Create a New Theme
Each page in Fusion Ticket has 3 sections:
- Header
- Content
- Footer
The header and footer are constant but the content refreshes with each user action. The most dramatic theme changes will, therefore, be in the header and footer with minor changes to the content (font color, size, etc..). Changing the layout of content requires Advanced Coding>TPL Files so it will not be discussed in this article.
On line Shop
Copy the directory …/includes/templates/themes/default to a new directory and rename with your theme, ie. …/includes/templates/themes/your_theme.
The new directory will contain the 3 files
- footer.tpl
- header.tpl
- style.css
In the file …/includes/config/init_common.php change the code to your theme name, ie. change 'default' to 'your_theme'
// this selects the theme that you like to use. $_SHOP->theme_dir = $_SHOP->tpl_dir . "/theme/default";
Now you are ready to make your changes.
The Header
The header is the first thing people see; so, have at it. Change the logo, change the menu. Make it your own.
The Footer
The footer controls the bottom layout and positions the Members block and the Shopping cart block.
You may certainly change the layout and add any statement you like but the copyright notice, 'powered by Fusion Ticket' notice reside here and must not be removed or changed.
A lot of people put in a lot of time, for free, to develop this program. While it may be tempting to change the footer to say “Powered by (hey look at me I'm a programmer), it is cheating and against the GNU licensing rules. Be a good person and give credit where credit is due.
Style Sheet (css)
The file style.css controls the look and feel of Fusion Ticket. From fonts and colors to borders and tables. You can make minor changes in this file because they are obvious but radical change requires a knowledge of CSS.
CSS is not difficult to learn but it is beyond the scope of this article. There are many Internet sites that teach the rules of CSS and can help you with your project.
