Hello, everyone,

Could you please help me to see what is the problem?

I just want the new products(class=centerBoxWrapper id=whatNew) at bottom of homepage to display at my custom place, what code should i copy and past?

i tried to copy the following code from includes\templates\template_default\templates\tpl_index_default.php,
HTML Code:
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS') { ?>
<?php
/**
 * display the New Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>
and past where i desired, but error occured.
Fatal error: Call to a member function Execute() on a non-object in ..\submenucontents.php on line 58

Did i copy the wrong code? what correct code should i work with?
Many for your suggestion in advance. thanks.