The default code is;
<reference name="content">
<block type="joomlart_jmtabs/core" name="jmtabs">
<action method="addTabs_block">
<title>Big Box Daily Deal</title>
<block>joomlart_jmproducts/list</block>
<template>joomlart/jmproducts/list.phtml</template>
<alias>tab1-jmproducts</alias>
</action>
<action method="addTabs_block">
<title>Closing Soon …</title>
<block>joomlart_jmcategorylist/list</block>
<template>joomlart/jmcategorylist/list.phtml</template>
<alias>tab2-jmcategorylist</alias>
</action>
</block>
</reference>
How do I add extra tabs and list category contents within them?
Cheers
Mitch
1 answer
- You can insert jatabs tags as case following:
- Type = modules
{jatabs type="modules" module="user10" ajax="true" position="left" widthTabs="112" heightTabs=30 width="600" height="400" mousetype="click" animType="animFade" skipAnim="false" duration=1000 } {/jatabs}
-- module: position of the module
-- Demo:
http://static.joomlart.com/ima…abs_module.png
- Type = module
{jatabs type="module" modulename="mod_janews, mod_search, mod_custom" position="top" width="600" height="1200" mousetype="click" animType="animFade" skipAnim="false" duration=1000 }{/jatabs}
[font=Verdana]
-- modulename: module’s name list. Note: module must published
-- Demo:
http://static.joomlart.com/ima…bs_module1.png
- Type = content
{jatabs type="content" position="top" width="450" height="200" mousetype="click" animType="animMoveVir" skipAnim="false" duration=1000 }
[tab title="Title tab 1"]This is tab content 1[/tab]
[tab title="Title tab 2"]This is tab content 2[/tab]
[tab title="Title tab 3"]This is tab content 3[/tab]
[tab title="Title tab 4"]This is tab content 4[/tab]
{/jatabs}-- Demo:
http://www.joomlart.com/forums/image…/wol_error.gif
Click this bar to view the full image.
http://static.joomlart.com/ima…bs_content.png
http://www.joomlart.com/forums/image…/wol_error.gif
Click this bar to view the full image.
http://static.joomlart.com/ima…s_content1.png
-
- Type = articles
{jatabs type="articles" ids="1, 2,3" view="introtext" position="left" widthTabs=150 heightTabs=30 width="600" height="230" mousetype="click" animType="animFade" skipAnim="false" duration=1000 }{/jatabs}
-- ids: list id of the article
-- view: you set to show introtext/fulltext of article content
-- Note: only show the articles published