View Single Post
  #6  
Old 12-18-2008, 06:38 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: Short and Detailed description

If i am right .Your question is Why you get the TAB called test ?
then this is my answer
Remove the content marked in red.

Check it and tell me.

<li class="selected"><a href="#tabs" rel="tcontent1">Features</a></li>

{if $product.fulldescr ne ""}{$product.fulldescr}
<li><a href="#tabs" rel="tcontent2">Specifications</a></li>
{/if}

Quote:
Originally Posted by ChristineP
Hi Vetrivel,

I double checked my code, but nothing is obvious to me. Other than in the Tabs area (code posted below), what should I look for in product.tpl that would resolve this? ...see attached image


{* TABS MENU START (v4.1.x) *}

<a name="tabs" id="tabs"></a>

<ul id="maintab" class="shadetabs">

<li class="selected"><a href="#tabs" rel="tcontent1">Features</a></li>

{if $product.fulldescr ne ""}{$product.fulldescr}
<li><a href="#tabs" rel="tcontent2">Specifications</a></li>
{/if}


{if $active_modules.Detailed_Product_Images ne "" && ($config.Detailed_Product_Images.det_image_popup ne 'Y' || $js_enabled ne 'Y')}
{if $images ne ""}
<li><a href="#tabs" rel="tcontent3">Dimensions</a></li>
{/if}{/if}

{if $active_modules.Upselling_Products ne ""}
<li><a href="#tabs" rel="tcontent4">Related Items</a></li>
{/if}

</ul>

<div class="tabcontentstyle">

<div id="tcontent1" class="tabcontent">
{if $product.descr ne ""}{$product.descr}{ /if}
</div>

<div id="tcontent2" class="tabcontent">
{if $product.fulldescr ne ""}{$product.fulldescr}{/if}
</div>


{if $active_modules.Detailed_Product_Images ne "" && ($config.Detailed_Product_Images.det_image_popup ne 'Y' || $js_enabled ne 'Y')}
<div id="tcontent3" class="tabcontent">
{include file="modules/Detailed_Product_Images/product_images.tpl" }
</div>
{/if}

{if $active_modules.Upselling_Products ne ""}
<div id="tcontent4" class="tabcontent">
{include file="modules/Upselling_Products/related_products.tpl" }
</div>
{/if}

</div>

<script type="text/javascript">
//Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma.
initializetabcontent("maintab")
</script>

{* TABS MENU END *}
Reply With Quote