Making A New Theme

From AWBS Wiki
Revision as of 13:02, November 25, 2008 by Samdrams (Talk | contribs)

Jump to: navigation, search

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.

Footer Area

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