I can tell you what its doing, but I haven't quite figured out how to fix it....
there is a loop going on after it checks a database to see what should be displayed on the page, so moving the code for special products to be before the main page text breaks it as it does not have access to the db to see if it should be displayed or not.
moving the display main text to below it in the code results in it being displayed several times as the code loop executes.
so.....if your sure you will never ever want to turn it off from admin......
cut
Code:
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>
<?php
/**
* display the Special Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
<?php } ?>
and paste
Code:
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
somewhere above
Code:
<!-- deprecated - to use uncomment this section
<?php if (TEXT_MAIN) { ?>
<div id="" class="content"><?php echo TEXT_MAIN; ?></div>
<?php } ?>-->