JM TABS in Homepage

Hello,

I try to JM Tabs on my home page as the tutorial
But nothing is displayed

My xml code:

Code:

<reference name="head">    
            <action method="addCss"><stylesheet>joomlart/jmtabs/css/jm.tabs.css</stylesheet></action>
        </reference>
<reference name="mass-top">        
<block type="joomlart_jmslideshow/list" template="joomlart/jmslideshow/list.phtml" />
   </reference>  
<!--<reference name="content">
<block type="joomlart_jmtabs/core" name="jmtabs">
                <action method="addTabs_staticblock">
                    <title>Mon ballotin</title>
                    <identifier>position-1</identifier>
                </action>
                <action method="addTabs_staticblock">
                    <title>Tablette</title>
                    <identifier>position-2</identifier>
                </action>
                <action method="addTabs_staticblock">
                    <title>Gourmandises</title>
                    <identifier>position-3</identifier>
                </action>                
                <action method="addTabs_staticblock">
                    <title>Confiture</title>
                    <identifier>position-4</identifier>
                </action>
</block>
        <block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page">
            <action method="addPriceBlockType">
                <type>bundle</type>
                <block>bundle/catalog_product_price</block>
                <template>bundle/catalog/product/price.phtml</template>
            </action>
        </block>
        <block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new">
            <action method="addPriceBlockType">
                <type>bundle</type>
                <block>bundle/catalog_product_price</block>
                <template>bundle/catalog/product/price.phtml</template>
            </action>
        </block>
        <block type="reports/product_compared" name="home.reports.product.compared" template="reports/home_product_compared.phtml" after="product_viewed">
            <action method="addPriceBlockType">
                <type>bundle</type>
                <block>bundle/catalog_product_price</block>
                <template>bundle/catalog/product/price.phtml</template>
            </action>
        </block>
    </reference>
    <reference name="right">
        <action method="unsetChild"><alias>right.reports.product.viewed</alias></action>
        <action method="unsetChild"><alias>right.reports.product.compared</alias></action>
    </reference>-->

Thanks for help.

4 answers

Profile photo of Sherlock 0.00 $tone March 11, 2013
Public

Hi godsilken50,

Did you enable the Jm tabs modules in System >> Configuration >> Joomlart >> Jm tabs, you can give me your url, the admin account here I will need to take a look at the back-end to see what was wrong.

#1
Profile photo of Sarion Charles 0.00 $tone March 11, 2013
Public

My new code xml :

Code:

<reference name="mass-top">        
<block type="joomlart_jmslideshow/list" template="joomlart/jmslideshow/list.phtml" />
   </reference>  
  <reference name="head">	
        	<action method="addCss"><stylesheet>joomlart/jmtabs/css/jm.tabs.css</stylesheet></action>
        </reference>
        <reference name="content">        	
			<block type="joomlart_jmtabs/core" name="jmtabs">				
			<action method="addTabs_staticblock">
			<title>Votre boite de chocolats</title>
                        <identifier>position-1</identifier>
			</action>
                <action method="addTabs_staticblock">
                    <title>Coffret chocolat</title>
                    <identifier>position-2</identifier>
                </action>
                <action method="addTabs_staticblock">
                    <title>Fruits bio</title>
                    <identifier>position-3</identifier>>
                </action>                
                <action method="addTabs_staticblock">
                    <title>Fruits moelleux</title>
                    <identifier>position-4</identifier>
                </action>
    <action method="addTabs_staticblock">
                    <title>Confitures</title>
                    <identifier>position-4</identifier>
                </action>
			</block>
        </reference>

It’s ok for my Slideshow.
But I can see product in Tabs…..

The code in static block :

Code:

<div>{{block type="joomlart_jmproducts/list" name="home.jmproducts.list" template="joomlart/jmproducts/list.phtml" catsid="14" }}</div>

Please, help me…

#2

This question is now closed

Written By

Comments