Difference between revisions of "Making A New Theme"
Line 14: | Line 14: | ||
=== Site Menu === | === Site Menu === | ||
− | To edit the menu edit; | + | *To edit the menu edit; |
templates/common_files/group1menu.php | templates/common_files/group1menu.php | ||
Line 22: | Line 22: | ||
templates/common_files/group1cpmenu.php | templates/common_files/group1cpmenu.php | ||
− | + | The group1 refers to the user group, if you add user groups you can give them their own custom menu by creating new menu files. | |
− | Example: | + | Example: |
You add a new user group and it will be group 2 | You add a new user group and it will be group 2 | ||
Create a new menu file named group2menu.php | Create a new menu file named group2menu.php | ||
− | When the group 2 users log in, their menu will change to the group2menu.php file instead of the default group1menu.php file. | + | When the group 2 users log in, their menu will change to the group2menu.php file instead of the default group1menu.php file. |
− | To edit the text on the menu links, edit the includes/language/english/global.php file | + | *To edit the text on the menu links, edit the includes/language/english/global.php file |
− | The '''stylesheet''' used for the menus is: | + | *The '''stylesheet''' used for the menus is: |
templates/[your_theme_directory]/css/menu.css | templates/[your_theme_directory]/css/menu.css | ||
Note: this stylesheet is used for both the site menu and the member area menu | Note: this stylesheet is used for both the site menu and the member area menu |
Revision as of 14:04, November 25, 2008
First, select an existing theme that is the closest look to what your end result will be, i.e. color scheme of content, etc.
Upload that theme if you don't already have it.
Note: It is recommended to rename your theme to avoid any possible loss of customization if any changes are made to that theme.
Header Area
Edit the top.php template file with your code/images as desired to create your header look. If you won't use language selection or Dynamic Converter, you can replace that entire table with your code.
Edit the bottom.php template file with your code/images as desired to create your custom footer look. Be sure to leave any javascript lines and php code near the bottom of the file to retain all system fucntionality.
Site Menu
- To edit the menu edit;
templates/common_files/group1menu.php
or if in portal mode
templates/common_files/group1cpmenu.php
The group1 refers to the user group, if you add user groups you can give them their own custom menu by creating new menu files.
Example: You add a new user group and it will be group 2
Create a new menu file named group2menu.php
When the group 2 users log in, their menu will change to the group2menu.php file instead of the default group1menu.php file.
- To edit the text on the menu links, edit the includes/language/english/global.php file
- The stylesheet used for the menus is:
templates/[your_theme_directory]/css/menu.css Note: this stylesheet is used for both the site menu and the member area menu