Basic Customisation

A guide to the basic Replicant 2 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";	// custom or style1 - style10
$body_style             = "style1";     // style1 - style4
$color_style            = "style1";     // style1 - style10
$enable_ie6warn         = "false";       // true | false
$font_family            = "default";     // default | geneva | optima | helvetica | trebuchet | lucida | georgia | palatino
$enable_fontspans       = "true";        // true | false
$template_width 	= "962";		 // width in px
$leftcolumn_width	= "225";		 // width in px
$rightcolumn_width	= "225";		 // width in px
$splitmenu_col		= "rightcol";	 // leftcol | rightcol
$menu_name 		= "mainmenu";	 // mainmenu by default, can be any Joomla menu name
$menu_type 		= "moomenu";	 // moomenu | suckerfish | splitmenu | module
$default_font 		= "default";     // smaller | default | larger
$show_moduleslider	= "true";		 // true | false
$moduleslider_location  = "top";		 // top | middle | bottom
$moduleslider_height	= "200";		 // height in px
$leftbanner_width	= "160";		 // width in px
$rightbanner_width	= "160";		 // width in px
$show_pathway 		= "true";		 // true | false
$show_logo		= "true";		 // true | false
$show_date		= "true";		 // true | false
$show_textsizer		= "true";		 // true | false
$show_copyright 	= "true";		 // true | false

// module slider configuration
	
$max_mods_per_row		= 3;		// maximum number of modules per row (adjust the height if this wraps)
$modules_list 			= array(array("title"=>"Tab One", "module"=>"user15"),
					array("title"=>"Tab Two", "module"=>"user16"),
					array("title"=>"Tab Three", "module"=>"user17"),
					array("title"=>"Tab Four", "module"=>"user18"),
					array("title"=>"Tab Five", "module"=>"user19"));

Default Style

The template is bundled with 10 pre-made style variants that be be easily and quickly chosen from the template configuration.
$default_style = "style1"; 	// [custom ... style1 - style10]

Body Style

The template is bundled with 4 pre-made body style variants that be be easily and quickly chosen from the template configuration. This option only comes into effect if you choose custom in the option above.
$body_style             = "style1";     // style1 - style4

Colour Style

The template is bundled with 10 pre-made colour variants that be be easily and quickly chosen from the template configuration. This option only comes into effect if you choose custom in the option above.
$color_style            = "style1";     // style1 - style10

IE6 Warning

Warn your visitors using Internet Explorer 6 to upgrade to a more secure version with this toggle. This option activates a javascript based dropdown in IE6 at the top of the template where a description of why IE6 is a redundant browser is visible. The warning will only appear once as its stored via a cookie.
$enable_ie6warn = "true"; 	// true | false

Font Family

You can choose which font you would like to use for your content item, these are all web standard fonts.
$font_family= "default";    // geneva|optima|helvetica|trebuchet|lucida|georgia|palatino

Template Width

This template configuration option allows you to easily change the width of the template itself, simply change the number to another pixel value.
$template_width = "962"; 	// width in px 

LeftColumn Width

This template configuration option allows you to easily change the width of the left column, simply change the number to another pixel value.
$lefctolumn_width = "225";	   // width in px

RightColumn Width

This template configuration option allows you to easily change the width of the right column, simply change the number to another pixel value.
$rightcolumn_width = "225";	   // width in px

Splitmenu Location

One of the template's menu options is splitmenu which displays the first and second level items in the horizontal menu bar and the 3rd in a side column module. This option allows you to choose between the left column or the right column.
$splitmenu_col = "rightcol";	// leftcol | rightcol

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

Replicant 2 is bundled with 4 menu options, 3 of which are integrated menu approaches. These are splitmenu, moomenu, suckerfish and module. Splitmenu displays the 1st level menu items in the horizontal bar and the 2nd in the side column; moomenu and suckerfish display the menu items in dropdown lists with moomenu having a javascript powered approach; and the module options turns the menu bar into the toolbar module position so you can insert modules into the area (this will disable the menu however).
$menu_type = "moomenu"; 	// moomenu | suckerfish | splitmenu | module

Default Font

This option allows you to choose what the font size will be, you have 3 options to choose from, these are smaller, default and larger.
$default_font = "default";   // smaller | default | larger

Show Module Slider

This option allows you to enable or disable the Module slider that operates on the User11-User15 module positions.
$show_moduleslider	= "true"; // true | false

Module Slider Height

Set the height value, in pixels, that the Module Slider will conform to.
$moduleslider_height = "200"; // height in px

Show Pathway

The pathway or breadcrumbs function can be disabled with this setting.
$show_pathway = "false";  // true | false

Show Logo

Replicant 2 allows you to turn the logo into a module position (icon) to allow for more flexible control.
$show_logo = "true"; 	// true | false

Enable Font Spans

This setting allows you to enable the fontspans, i.e. the multi-coloured module headers.
$enable_fontspans = "true"; 	// true | false

Show Date

This setting allows you to disable the date in the upper left of the template.
$show_date = "true"; 	// true | false

Show Text Sizer

This setting allows you to disable the text size controls in the upper right of the template.
$show_textsizer = "true"; 	// true | false

Show Copyright

Replicant 2 allows you to turn the RocketTheme logo into a module position (footer) to allow for more flexible control.
$show_copyright = "true";   // true | false

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)

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"=>"Tab One", "module"=>"user15"),
		       array("title"=>"Tab Two", "module"=>"user16"),
		       array("title"=>"Tab Three", "module"=>"user17"),
		       array("title"=>"Tab Four", "module"=>"user18"),
		       array("title"=>"Tab Five", "module"=>"user19"));