Here is the code I found....
Code
<?php
$strip_head = false;
$alternate_summary = false;
$template = array (
//Main theme template file names
'main' => "theme.html",
'summary' => "summary.html",
//Alternating Summary article templates
//'summary1' => "summary1.html",
//'summary2' => "summary2.html",
//
'article' => "article.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
);
$block_display = array (
//Display blocks on all pages
'left' => true,
'center' => true,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
);
$miscellaneous = array (
//Style sheet, logo image and colors used by modules by default
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
$custom_block = array (
//Custom themed blocks - configure custom templates (*optional)
//These override the standard settings above only for the specific block
//Comment out or delete what you don't need
//'Main Menu' => "mainmenu.html",
//'Poll' => "poll.html",
//'Related links' => "relatedlinks.html",
);
//Custom themed modules - configure custom templates, colors, image and block display (*optional)
//These override the standard settings above only for the specific module
//Comment out or delete what you don't need
//
//Use the following if statement if you don't want these settings used on your home page
if($index== 1) {
//
$custom_module['News'] = array (
//Module specific template file names
'main' => "theme.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Module specific Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
//Block display for this module
'left' => true,
'center' => true,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
//Style sheet, logo image and colors for this module
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
} //End if($index== 1)
if($index== 1) {
//
$custom_module['XForum'] = array (
//Module specific template file names
'main' => "theme2.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Module specific Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
//Block display for this module
'left' => true,
'center' => true,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
//Style sheet, logo image and colors for this module
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
} //End if($index== 1)
if($index== 1) {
//
$custom_module['PNphpBB2'] = array (
//Module specific template file names
'main' => "theme2.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Module specific Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
//Block display for this module
'left' => true,
'center' =>false,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
//Style sheet, logo image and colors for this module
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
} //End if($index== 1)
if($index != 1) {
//
$custom_module['Downloads'] = array (
//Module specific template file names
'main' => "theme.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Module specific Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
//Block display for this module
'left' => true,
'center' => true,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
//Style sheet, logo image and colors for this module
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
} //End if($index != 1)
$custom_module['Web_Links'] = array (
'right' => true,
);
$custom_module['zClassifieds'] = array (
'right' => true,
);
?>
$strip_head = false;
$alternate_summary = false;
$template = array (
//Main theme template file names
'main' => "theme.html",
'summary' => "summary.html",
//Alternating Summary article templates
//'summary1' => "summary1.html",
//'summary2' => "summary2.html",
//
'article' => "article.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
);
$block_display = array (
//Display blocks on all pages
'left' => true,
'center' => true,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
);
$miscellaneous = array (
//Style sheet, logo image and colors used by modules by default
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
$custom_block = array (
//Custom themed blocks - configure custom templates (*optional)
//These override the standard settings above only for the specific block
//Comment out or delete what you don't need
//'Main Menu' => "mainmenu.html",
//'Poll' => "poll.html",
//'Related links' => "relatedlinks.html",
);
//Custom themed modules - configure custom templates, colors, image and block display (*optional)
//These override the standard settings above only for the specific module
//Comment out or delete what you don't need
//
//Use the following if statement if you don't want these settings used on your home page
if($index== 1) {
//
$custom_module['News'] = array (
//Module specific template file names
'main' => "theme.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Module specific Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
//Block display for this module
'left' => true,
'center' => true,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
//Style sheet, logo image and colors for this module
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
} //End if($index== 1)
if($index== 1) {
//
$custom_module['XForum'] = array (
//Module specific template file names
'main' => "theme2.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Module specific Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
//Block display for this module
'left' => true,
'center' => true,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
//Style sheet, logo image and colors for this module
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
} //End if($index== 1)
if($index== 1) {
//
$custom_module['PNphpBB2'] = array (
//Module specific template file names
'main' => "theme2.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Module specific Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
//Block display for this module
'left' => true,
'center' =>false,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
//Style sheet, logo image and colors for this module
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
} //End if($index== 1)
if($index != 1) {
//
$custom_module['Downloads'] = array (
//Module specific template file names
'main' => "theme.html",
'leftblock' => "leftblock.html",
'centerblock' => "centerblock.html",
'rightblock' => "rightblock.html",
//Module specific Nuclei blocks template file names (*optional)
'area1block' => "area1block.html",
'area2block' => "area2block.html",
'area3block' => "area3block.html",
'area4block' => "area4block.html",
'area5block' => "area5block.html",
'area6block' => "area6block.html",
'area7block' => "area7block.html",
'area8block' => "area8block.html",
'area9block' => "area9block.html",
'topblock' => "topblock.html",
'bottomblock' => "bottomblock.html",
//Block display for this module
'left' => true,
'center' => true,
'right' => true,
//Nuclei blocks (*optional)
'area1' => false,
'area2' => false,
'area3' => false,
'area4' => false,
'area5' => false,
'area6' => false,
'area7' => false,
'area8' => false,
'area9' => false,
'top' => false,
'bottom' => false,
//Style sheet, logo image and colors for this module
'stylesheet' => "",
'logo' => "", // [logo-image]
'bgcolor1' => "#005826", // [color1]
'bgcolor2' => "#005826", // [color2]
'bgcolor3' => "#005826", // [color3]
'bgcolor4' => "#005826", // [color4]
'textcolor1' => "yellow", // [color5]
'textcolor2' => "yellow", // [color6]
);
} //End if($index != 1)
$custom_module['Web_Links'] = array (
'right' => true,
);
$custom_module['zClassifieds'] = array (
'right' => true,
);
?>
Here is the line that I am confused about....
Quote
//Use the following if statement if you don't want these settings used on your home page
if($index== 1) {
How do I use this and where? Do I only need to insert the above line in the index of the module? I have been struggling with this.
Could some one please explain this to me ?
I did some searching, but found nothing to answer my question. I found plenty of posts that pertained to this question, but none fully answered mine.
James
Visit my site at www.e-bassangler.com
