On the tpl_product_info_display.php document, when I insert this code:
<?php
require($template-> get_template_dir('tpl_modules_xsell_products.php",
DIR_WS_TEMPLATE, $current_page_base,"templates'). '/'.
'tpl_modules_xsell_products.php');
?>
I get these errors:
Warning: Missing argument 2 for get_template_dir() in /home/tot2t3/public_html/includes/classes/template_func.php on line 42
Warning: Missing argument 3 for get_template_dir() in /home/tot2t3/public_html/includes/classes/template_func.php on line 42
Warning: Missing argument 4 for get_template_dir() in /home/tot2t3/public_html/includes/classes/template_func.php on line 42
Warning: main(includes/templates/template_default//tpl_modules_xsell_products.php) [function.main]: failed to open stream: No such file or directory in /home/tot2t3/public_html/includes/templates/Custom/templates/tpl_product_info_display.php on line 243
Warning: main(includes/templates/template_default//tpl_modules_xsell_products.php) [function.main]: failed to open stream: No such file or directory in /home/tot2t3/public_html/includes/templates/Custom/templates/tpl_product_info_display.php on line 243
Warning: main(includes/templates/template_default//tpl_modules_xsell_products.php) [function.main]: failed to open stream: No such file or directory in /home/tot2t3/public_html/includes/templates/Custom/templates/tpl_product_info_display.php on line 243
Fatal error: main() [function.require]: Failed opening required 'includes/templates/template_default//tpl_modules_xsell_products.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tot2t3/public_html/includes/templates/Custom/templates/tpl_product_info_display.php on line 243
I have tried reinstalling and nothing changed. Am I putting the code in the wrong location? I've added it to the bottom of the page above the last <?php. Any thoughts as to why?



