Quote Originally Posted by brittainmark View Post
Hi Anne, Just started working with your excellent template. Think I have found out what is happening with the tabs. It appears that if the tab has no content then the section is not displayed which causes the Java script to fail. I simply removed the if statement and all works fine now. (just after the "<!-- bof:" and just before the "<!--eof:" statements.
Before
PHP Code:
<!-- bof: specials -->
<?php if ($zc_show_specials == true) { ?>

                <section id="section-3">
<div class="centerBoxWrapper" id="specialsDefault">
<?php
/**
 * require the columnar_display template to show the products
 */
  
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_columnar_display.php');
?>
</div>
</section>

<?php ?>
<!-- eof: specials -->
After
PHP Code:
<!-- bof: specials -->

                <section id="section-3">
<div class="centerBoxWrapper" id="specialsDefault">
<?php
/**
 * require the columnar_display template to show the products
 */
  
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_columnar_display.php');
?>
</div>
</section>


<!-- eof: specials -->
if you remove these lines from the three template files tpl_modules_specials_default.php, tpl_modules_featured_products.php, tpl_modules_whats_new.php, in "includes\templates\responsive_sheffield_blue\templates\" All works fine. (not live yet. Soon hopefully)
Thank you for posting ;) I'll be sure to include this in the next template update.

Thanks,

Anne