New Zenner
- Join Date:
- Apr 2009
- Posts:
- 57
- Plugin Contributions:
- 0
Westminster New
THanks you are correct and I too have made the same edits that you have made :-) in your post here
https://www.zen-cart.com/showthread.php?213334-Westminster-New&p=1268331#post1268331
RixStix:
If you look back in early January 2015, around POST 408 of this support thread, you will find several other similar edits that need to be made.
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>missesbeehaven:
Hi Anne,
After some digging and research on the forum I have found the fix to the problem with the product info display and it is a small code bug in the Westminster New template files that i fixed. I wanted to post the solution here so others can use the fix and that you could update your code for any future releases :-)There are two files with a variable that is an empty string, the two files are:
includes/templates/westminster_new/templates/tpl_product_info_display.php
templates/westminster_new/common/html_header.phpOpen includes/templates/westminster_new/templates/tpl_product_info_display.php and FIND:
>
> Replace with:
> ```
<script src="<?php echo $template->get_template_dir('easyResponsiveTabs.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/easyResponsiveTabs.js' ?>" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>Next OPEN templates/westminster_new/common/html_header.php and FIND:
>
> Replace with:
> ```
<script src="<?php echo $template->get_template_dir('css_browser_selector.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/css_browser_selector.js' ?>" type="text/javascript"></script>
I used the admin's Tools->Developers Tool Kit and search for $template->get_template_dir and checked for any variable that is an empty string.