
Originally Posted by
castylx
Okay so I have my products page, here is the example I want to give. In my product_info page I use a series of tables that have classes and use different settings(widths). It looks like the following (see below). You'll notice that the table uses a class called GenericBarHeading. In "non-tab" mode the GenericBarHeading is there, however when I go to tabbed mode, it disappears from the table. That's why I was asking if the tpl_tabbed_products_lite.php changes my format? Or does it simply use some tags in my products_info tab to know where to seperate the sections/tabs?
if ($products_description != '') {
if ($chkTabStart === false || $chkTabEnd === false) { // BEGIN custom tab exist check ?>
<!--bof Product description -->
<table width="585" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td valign="top" style="height:50 ">
<table width="576" border="0" cellpadding="0" cellspacing="0" class="GenericBarHeading" style="height:27px ">
<tr>
<td class="text_2" style="color:#FFFFFF "><img src="images/plus_2.jpg" width="11" height="11" alt="" style="margin-left:10px; margin-right:7px ">Description
</td>
</tr></table>
</td>
</tr>
<tr>
<td valign="top" style="height:218 "><table width="585" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="467" valign="top" class="text_1">
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<!--eof Product description -->
<?php
If ($bAddToCart || $bMediaCollection || $bAdditionalImages || $bCustomersAlsoPurchased || $bCrossSell_Tab) {
require($template->get_template_dir('/tpl_tabbed_products_lite.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_tabbed_products_lite.php');
}
} else {
require($template->get_template_dir('/tpl_tabbed_products_lite.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_tabbed_products_lite.php');
}
}
?>
<!-- eof: Tabbed Product Lite Modifications -->
Bookmarks