Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: What about multiple tabs for produtc description?

$
0
0
Hi I'm new to all this and am trying to add two more multiple tab Rich Text Editor, I have got the productxmldata.template sorted out I think but am having trouble working out how to add them into the productdetail.template

This is what I put in my productxmldata.template
<span class="NormalBold">Specifications Tab</span>
[<tag id="txtEdit" type="dnntexteditor" height="300" width="700" />]
<span class="NormalBold">Gem Meanings Tab</span>
[<tag id="tabs-3" type="dnntexteditor" height="300" width="700" />]
<span class="NormalBold">Videos Tab</span>
[<tag id="tabs-4" type="dnntexteditor" height="300" width="700" />]
This is my productdetail.template can someone please help me out with what I need to put in here to get the two extra tabs working
<!-- Begin Tabs -->
 <div id="tabs">
   <ul>

<!-- Begin Description Tab -->
    [TAG:TEST:<prop TestType="valueof" 

TestName="Description" TestValue="" Action="Hide" />]
      <li><a href="#tabs-1">Description</a></li>
    [TAG:END]
<!-- End Description Tab -->

<!-- Specifications Tab - Disabled by default -->
    [TAG:TEST:<prop TestType="setting" 

TestName="specificationstab.flag" TestValue="1" Action="Show" 

/>]
    [TAG:TEST: <prop TestType="valueof" 

FieldXPath="genxml/edt/txtedit" TestValue="" Action="Hide" />]
    [TAG:TEST:<prop TestType="valueof" 

TestName="Description" TestValue="" Action="Hide" />]
      <li><a href="#tabs-2">Details</a></li>
    [TAG:END]
    [TAG:END]
    [TAG:END]

<!-- Begin Documents and Document Downloads Tab -->
   [TAG:TEST:<prop TestType="hasDocuments" Action="Show" />]
    [TAG:TEST:<prop TestType="setting" 

TestName="downloadableproducts.flag" TestValue="1" 

Action="Hide" />]
      <li><a href="#tabs-3">Documentation</a></li>
    [TAG:END]
    [TAG:TEST:<prop TestType="isinrole" 

TestValue="Registered Users" Action="Show" />]
    [TAG:TEST:<prop TestType="setting" 

TestName="downloadableproducts.flag" TestValue="0" 

Action="Hide" />]
      <li><a href="#tabs-3">Downloads</a></li>
    [TAG:END]
    [TAG:END]
    [TAG:END]
<!-- End Documents and Document Downloads Tab -->

<!-- Begin Models Tab -->
    [TAG:TEST:<prop TestType="valueof" 

TestName="QtyRemaining" TestValue="0" Action="Hide" />]
    [TAG:TEST:<prop TestType="setting" 

TestName="modelstable.flag" TestValue="0" Action="Hide" />]
    [TAG:TEST:<prop TestType="hasModels" Action="Show" />]
      <li><a href="#tabs-4">Models</a></li>
    [TAG:END]
    [TAG:END]
    [TAG:END]
<!-- End Models Tab -->

<!-- Begin Related Items Tab -->
    [TAG:TEST:<prop TestType="hasrelateditems" 

Action="Show" />]
      <li><a href="#tabs-5">Related Items</a></li>
    [TAG:END]
<!-- End Related Items Tab -->

<!-- Begin Currency Converter Tab -->
    [TAG:TEST:<prop TestType="setting" 

TestName="disableprices.flag" TestValue="1" Action="Hide" 

/>]<!-- If prices are disabled then hide -->
    [TAG:TEST:<prop TestType="setting" 

TestName="currencyconvertertab.flag" TestValue="0" 

Action="Hide" />]
      <li><a href="#tabs-6">Currency</a></li>
    [TAG:END]
    [TAG:END]
<!-- End Currency Converter Tab -->

   </ul>
    [TAG:END]

    [TAG:TEST:<prop TestType="setting" 

TestName="tabbedcontent.flag" TestValue="0" Action="Show" />]
    <div>
    [TAG:END]
<!-- End Tabs -->
I tried what Scippy wrote but couldnt get it working.

Many thanks

Tress

scippy wrote:
productxmldata.template
RichText : [<tag id="Tab1" type="dnntexteditor" height="400" width="600" />]
RichText : [<tag id="Tab2" type="dnntexteditor" height="400" width="600" />]
RichText : [<tag id="Tab3" type="dnntexteditor" height="400" width="600" />]
productdetail.template
<link href="http://blogs.sitepointstatic.com/examples/tech/css3-target/tabs.css" media="all" type="text/css" rel="stylesheet">
    <article class="tabs">
        <!-- tab 1 -->
        <section id="tab1">
        <h2><a href="#tab1">Tab 1</a></h2>
        [TAG:XMLDATA:genxml/edt/Tab1]
        </section>
        <!-- tab 2 -->
        <section id="tab2">
        <h2><a href="#tab2">Tab 2</a></h2>
        [TAG:XMLDATA:genxml/edt/Tab2]
        </section>
        <!-- tab 3 -->
        <section id="tab3">
        <h2><a href="#tab3">Tab 3</a></h2>
        [TAG:XMLDATA:genxml/edt/Tab3]
        </section>
    </article>

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>