AutoTheme

Configuration

theme.cfg

This is the name of your theme and must match the directory name:

$thename = "AutoTheme";


This tells AutoTheme whether to strip all of the tags in between <head> and </head> from the Main Theme file.  If you set this to false, then you need to insure that you don't have any conflicting information here.  PostNuke uses many <meta> tags and some <script>:

$strip_head = true;

These are the file names that you want to use for your HTML templates for standard PostNuke elements:

Main Theme file:

$theme_file = "theme.html";

Summary Article file (displayed on main page):

$index_file = "summary.html";

Full Article file (displayed when someone reads the full article):

$article_file = "article.html";

Left Block file:

$left_file = "leftblock.html";

Right Block file:

$right_file = "rightblock.html";

Center Block file:

$center_file = "centerblock.html";


These are the file names that you want to use for your HTML templates for the Nuclei Blocks enhancement:

$area1_file = "area1block.html";
$area2_file = "area2block.html";
$area3_file = "area3block.html";
$area4_file = "area4block.html";
$area5_file = "area5block.html";
$area6_file = "area6block.html";
$area7_file = "area7block.html";
$area8_file = "area8block.html";
$area9_file = "area9block.html";
$top_file ="topblock.html";
$bottom_file = "bottomblock.html";

This tells AutoTheme when to display each type of block.  True displays the block on every page, false displays the block only on the Main Page.

$left_show_all = true;
$center_show_all = true;
$right_show_all = false;
$area1_show_all = false;
$area2_show_all = false;
$area3_show_all = false;
$area4_show_all = false;
$area5_show_all = false;
$area6_show_all = false;
$area7_show_all = false;
$area8_show_all = false;
$area9_show_all = false;
$top_show_all = false;
$bottom_show_all = false;

These are colors that may be used by modules and some older PostNuke stuff (there are also commands for these):

$bgcolor1 = "#D4E1AE";
$bgcolor2 = "#99CC00";
$bgcolor3 = "#D4E1AE";
$bgcolor4 = "#FFFFFF";
$textcolor1 = "#000000";
$textcolor2 = "#660066";