I'm having a problem with a custom theme that I have and was hoping someone could help me. I've been using it on my .726 site for awhile without any problems but when I try it on my local test server running .750, it's messed up. I do not have right blocks nor do I have the admin messages showing on the index page (News).
I've tried everything and I thought I had it fixed when I was reading this post but it didn't work as the admin messages and right blocks would show on pages that I didn't want it to.
I've tried going through this theme.cfg file trying to figure it out but I'm ready to pull my hair out because I can't find the fix.
Can someone look at it and tell me why it will not show admin messages and right blocks on the index (News) page.
Any help would be greatly appreciated!
Here's my theme.cfg file:
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' => false,
'right' => false,
//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' => "#FFFFFF", // [color1]
'bgcolor2' => "#CBCACE", // [color2]
'bgcolor3' => "#EFEFEF", // [color3]
'bgcolor4' => "#EFEFEF", // [color4]
'textcolor1' => "#000000", // [color5]
'textcolor2' => "#000000", // [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' => "thenews.gif", // [logo-image]
'bgcolor1' => "#FFFFFF", // [color1]
'bgcolor2' => "#EFEFEF", // [color2]
'bgcolor3' => "#EFEFEF", // [color3]
'bgcolor4' => "#888888", // [color4]
'textcolor1' => "#000000", // [color5]
'textcolor2' => "#000000", // [color6]
);
} //End if($index== 1)
if($index != 1) {
//
$custom_module['PNphpBB2'] = array (
//Module specific template file names
'main' => "thememods.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' => false,
//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' => "forumlogo.gif", // [logo-image]
'bgcolor1' => "#FFFFFF", // [color1]
'bgcolor2' => "#EFEFEF", // [color2]
'bgcolor3' => "#EFEFEF", // [color3]
'bgcolor4' => "#CBCACE", // [color4]
'textcolor1' => "#000000", // [color5]
'textcolor2' => "#000000", // [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' => false,
'right' => false,
//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' => "thenews.gif", // [logo-image]
'bgcolor1' => "#FFFFFF", // [color1]
'bgcolor2' => "#EFEFEF", // [color2]
'bgcolor3' => "#EFEFEF", // [color3]
'bgcolor4' => "#888888", // [color4]
'textcolor1' => "#000000", // [color5]
'textcolor2' => "#000000", // [color6]
);
} //End if($index != 1)
$custom_module['Web_Links'] = array (
'right' => false,
);
?>
$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' => false,
'right' => false,
//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' => "#FFFFFF", // [color1]
'bgcolor2' => "#CBCACE", // [color2]
'bgcolor3' => "#EFEFEF", // [color3]
'bgcolor4' => "#EFEFEF", // [color4]
'textcolor1' => "#000000", // [color5]
'textcolor2' => "#000000", // [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' => "thenews.gif", // [logo-image]
'bgcolor1' => "#FFFFFF", // [color1]
'bgcolor2' => "#EFEFEF", // [color2]
'bgcolor3' => "#EFEFEF", // [color3]
'bgcolor4' => "#888888", // [color4]
'textcolor1' => "#000000", // [color5]
'textcolor2' => "#000000", // [color6]
);
} //End if($index== 1)
if($index != 1) {
//
$custom_module['PNphpBB2'] = array (
//Module specific template file names
'main' => "thememods.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' => false,
//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' => "forumlogo.gif", // [logo-image]
'bgcolor1' => "#FFFFFF", // [color1]
'bgcolor2' => "#EFEFEF", // [color2]
'bgcolor3' => "#EFEFEF", // [color3]
'bgcolor4' => "#CBCACE", // [color4]
'textcolor1' => "#000000", // [color5]
'textcolor2' => "#000000", // [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' => false,
'right' => false,
//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' => "thenews.gif", // [logo-image]
'bgcolor1' => "#FFFFFF", // [color1]
'bgcolor2' => "#EFEFEF", // [color2]
'bgcolor3' => "#EFEFEF", // [color3]
'bgcolor4' => "#888888", // [color4]
'textcolor1' => "#000000", // [color5]
'textcolor2' => "#000000", // [color6]
);
} //End if($index != 1)
$custom_module['Web_Links'] = array (
'right' => false,
);
?>
