Home Video Tutorials Written Tutorials Template Tutorials
print

Dimensions Customisation

A guide to the basic Dimensions customisation options that can be configured in the template index.php file with a description of each of the available options and how they affect the presentation of the template.

Here is a breakdown of the available options:

$default_style 	 = "style1";   //[style1... style10] 
$enable_rokzoom	 = "true";     // true | false
$template_width  = "950";      // width in px
$secondcol_width = "25%";      // width in px | width in %
$thirdcol_width  = "25%";      // width in px | width in %
$menu_name 		 = "mainmenu"; // can be any Joomla menu name
$menu_type	 	 = "moomenu";  // moomenu | suckerfish | splitmenu | module
$default_font 	 = "default";  // smaller | default | larger
$show_pathway 	 = "false";    // true | false

// module slider configuration

$modules_list =	array(array("title"=>"Group 1 Stuff", "module"=>"user7"),
		 		array("title"=>"Group 2 Panel", "module"=>"user8"),
		 		array("title"=>"Group 3 Collection", "module"=>"user9"),
		 		array("title"=>"Group 4 Assortment", "module"=>"user10"),
		 		array("title"=>"Group 5 Items", "module"=>"user11"));

$module_slider_height = 200;   // height in px
$max_mods_per_row     = 3;     // maximum number of modules per row 
                                 (adjust the height if this wraps)

Default Style

Dimensions has 10, pre-made styles that can be easily selected from the option shown below. Simply change the settings between the two " " tags to your style of choice.
$default_style = "style1"; //custom | [style1...style10]

RokZoom Enabled

RokZoom, a powerful and presentationally excellent script can sometimes come into conflict with other javascript libraries, you can disable it with the following settings.
$enable_rokzoom = "true"; // true | false

Template Width

You have the ability to select, with ease, the width of the template. The setting below is what you edit to either reduce or increase templates width.
$template_width = "950"; // width in px | fluid

Second Column Width

You have the ability to select, with ease, the width of the Second column. The setting below is what you edit to either reduce or increase side column width.
$secondcol_width = "25%";	// width in px or % 

Third Column Width

You have the ability to select, with ease, the width of the Third column. The setting below is what you edit to either reduce or increase side column width.
$thirdcol_width = "25%";	// width in px or % 

Module Slider Height

This setting controls the height of the Module Slider in pixels.
$module_slider_height = 200;   // height in px

Module Count

The module configuration variable below controls how many consecutive modules you can have for a position.
$max_mods_per_row = 3; // max number of modules per row (if wraps, adjust height)

Menu Name

The following parameter controls which Joomla menu is loaded for the horizontal navigation bar, by default this is mainmenu but you can change it to whatever menu such as othermenu.
$menu_name = "mainmenu";  // mainmenu by default

Menu Type

Dimensions has the 4 options for the horizontal navigation bar. You can either, select moomenu, the latest menu addition; suckerfish, the basic vertical dropdown menu; splitmenu, the popular classic or have the area as a separate module position.
$menu_type = "moomenu"; // moomenu | suckerfish | splitmenu | module

Default Font

Based on your own personal preference, or the preference of your users; you can easily set the default font size with this setting below:-
$default_font = "default";   // smaller | default | larger

Show Pathway

Sometimes sites just look better with no pathway, and we've provided a convenient toggle to allow you to disable this for your site
$show_pathway = "false";  // true | false

Module List

With the setting illustrated below, you can control the aspects of the integrated rokslide feature to a great extent. You can control the tab title and also the module position which appears in each of the tabs. In the code snippet, we have 5 lines, each line controls a single tab. Each line is segregated into 2 distinct parts. These are "title"=>"Tab Title", which controls the Tab Title. The second part is "module"=>"Module Position"),
$modules_list = array(array("title"=>"Group 1 Stuff", "module"=>"user7"),

		 array("title"=>"Group 2 Panel", "module"=>"user8"),

		 array("title"=>"Group 3 Collection", "module"=>"user9"),

		 array("title"=>"Group 4 Assortment", "module"=>"user10"),

		 array("title"=>"Group 5 Items", "module"=>"user11"));