![]() |
NO LONGER USED
$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";
Additional Style Sheet:
$style_sheet = "";
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):
$logoimg = "default.gif";
$bgcolor1 = "#D4E1AE";
$bgcolor2 = "#99CC00";
$bgcolor3 = "#D4E1AE";
$bgcolor4 = "#FFFFFF";
$textcolor1 = "#000000";
$textcolor2 = "#660066";
These are settings for custom themed blocks. You can configure a custom
template for blocks.
These override the standard settings above only for the specific block.
For now, you must have a value for each entry even
if its the default from above (these are examples - delete or remark out if not
needed):
***This will replace the old way of automatically having custom blocks and
block images by giving them the same name as the block.
***If you need a custom block title image, then create a new block template and
include the image there instead of [block-title].
$blks[] = "Main Menu";
$blk_file[] = "mainmenu.html";
$blks[] = "Poll";
$blk_file[] = "poll.html";
These are settings for custom themed modules. You can configure custom templates, colors, image and block display for a module. These override the standard settings above only for the specific module. For now, you must have a value for each entry even if its the default from above (these are examples - delete or remark out if not needed):
$mods[] = "News";
$mod_theme_file[] = "theme.html";
$mod_left_file[] = "leftblock.html";
$mod_center_file[] = "centerblock.html";
$mod_right_file[] = "rightblock.html";
$mod_style_sheet[] = "";
$mod_left_show[] = true;
$mod_center_show[] = false;
$mod_right_show[] = false;
$mod_area1_show[] = false;
$mod_area2_show[] = false;
$mod_area3_show[] = false;
$mod_area4_show[] = false;
$mod_area5_show[] = false;
$mod_area6_show[] = false;
$mod_area7_show[] = false;
$mod_area8_show[] = false;
$mod_area9_show[] = false;
$mod_top_show[] = false;
$mod_bottom_show[] = false;
$mod_img[] = "thenews.gif"; // [logo-image]
$mod_color1[] = "#D4E1AE"; // [color1]
$mod_color2[] = "#99CC00"; // [color2]
$mod_color3[] = "#D4E1AE"; // [color3]
$mod_color4[] = "#FFFFFF"; // [color4]
$mod_textcolor1[] = "#000000"; // [color5]
$mod_textcolor2[] = "#660066"; // [color6]
$mods[] = "Downloads";
$mod_theme_file[] = "theme.html";
$mod_left_file[] = "leftblock.html";
$mod_center_file[] = "centerblock.html";
$mod_right_file[] = "rightblock.html";
$mod_style_sheet[] = "";
$mod_left_show[] = true;
$mod_center_show[] = false;
$mod_right_show[] = true;
$mod_area1_show[] = false;
$mod_area2_show[] = false;
$mod_area3_show[] = false;
$mod_area4_show[] = false;
$mod_area5_show[] = false;
$mod_area6_show[] = false;
$mod_area7_show[] = false;
$mod_area8_show[] = false;
$mod_area9_show[] = false;
$mod_top_show[] = false;
$mod_bottom_show[] = false;
$mod_img[] = "downloads.gif"; // [logo-image]
$mod_color1[] = "#D4E1AE"; // [color1]
$mod_color2[] = "#99CC00"; // [color2]
$mod_color3[] = "#D4E1AE"; // [color3]
$mod_color4[] = "#FFFFFF"; // [color4]
$mod_textcolor1[] = "#000000"; // [color5]
$mod_textcolor2[] = "#660066"; // [color6]