BUSINESS REVOLUTION - template documentation

Table of contents

BUSINESS REVOLUTION

Template possibilites

Here are some setup/implementation suggestions for our latest template download: BUSINESS REVOLUTION exclusive to Gavick members.
All changes should be execute in index.php.

The new BUSINESS REVOLUTION template includes a new Experimental Control Panel using the Mootools framework. This accessibility control panel for the users that gives them the flexibility to change the appearance of the template to suit their preferences.

The module uses JavaScript to give the user the flexibility to:

Image 0

You can also set an image within the template to trigger the following Joomla properties:

Template configuration

The new BUSINESS REVOLUTION template offers easy template configuration for you to set the default template layout properties using the following parameters: (options $width_template, $template_style and $sidebar_position). You can also set some important settings ($menu_name and $control_panel).

Variable $menu_name

The default value menu is Joomlas mainmenu, but if you want use another horizontal menu then you should set this variable for name of this menu:

$menu_name = MyMainMenu;

Variable $control_panel

You can specify within the template to show or hide the user controls. The default value is true;

You can specify within the template to show or hide the user controls. The default value is true;

$control_panel = "true";

Image 1.1

$control_panel = "false";

Image 1.2

Of course when control panel is disabled user hasn't access to template configuration options.

Variable $width_template

Value of variable $width_template is basic width of template - you can set any values with "px" at end. For example:

$width_template = "900px";

This code set default width of template for 900 pixels.

Variable $template_style

You have to choose 12 template styles. Default value of this variable is "default" it also means "style1". Other values for this variable is "styleX" where X is number from 1 to 12 for example:

$template_style = "default";

This code set defualt template for "style1", and it's equivalent for this code:

$template_style = "style1";

If you want use style4 as default template style then set:

$template_style = "style4";

Variable $sidebar_position

This variable can set to two values - "left" and "right". It's a default position of sidebar. Default value is "left".Examples:

$sidebar_position = "left";

Image 2.1

$sidebar_position = "right";

Image 2.2

Links Join Now! Sitemap

You can set manualy two links (body section):

<div id="icons">
<a href="http://www.gavick.com" id="icon-shop">Join now!</a>
<a href="http://www.gavick.com" id="icon-sitemap">Sitemap</a>

Footer gk_footer.php

You can set manualy footer (gk_footer.php file):

<!-- Footer Hyperlinks -->
<a href="http://www.gavick.com/index.php?option=com_content&amp;task=view&amp;id=5&amp;Itemid=28" target="_blank">Terms and Conditions</a> |
<a href="http://www.gavick.com/index.php?option=com_content&amp;task=view&amp;id=14&amp;Itemid=31" target="_blank">Join GK eClub</a> |
<a href="http://www.gavick.com/index.php?option=com_fireboard&amp;Itemid=38" target="_blank">Forum Support</a> |
<a href="http://www.gavick.com/index.php?option=com_contact&amp;Itemid=3" target="_blank">Contact Us</a>
<br />
<!-- Copyright Information -->
Template Design &copy; <a href="http://www.gavick.com" target="_blank">Gavick.com</a>. All rights reserved.

Template scripts configuration

In script tag after code:

<script type="text/javascript" src="modules/mod_gk_imageslider/mod_gk_imageslider.js"></script>

You can set additional options for slider.

Variable gk_max_length_1

This value will use when browser window width will be smaller than default width of template. In this situation this variable set maximal width of template. For example: if user uses 800x600 dimension and variable gk_max_length_1 is set for 1200 pixels ten this user can set template width width from default width to 1200 pixels.

Variable gk_max_length_2

This value will use when browser window width will be bigger than default width of template. In this situation this variable set maximal width of template. For example: if user uses 1024x768 dimension and variable gk_max_length_2 is set for 1200 pixels ten this user can set template width width from default width to 1200 pixels. Additionaly - if you set this varable for 0:

gk_max_length_2 = 0;

Then maximal width of template is 100% - so user can set maximal width equivalent him browser window width (of course in situation when this width is bigger than template width).