How do i put the Spotlight module in the sidebar – left but not inside the tabs?

I dont want 2 use the tabs but i want to use the spotlight module.

But delfaut the custom xml comes like this:

<reference name="left">
<block type="joomlart_jmtab/core" name="jmtabs" />
</reference>

is there any way to convert this into the sporligh only?

1 answer

Profile photo of thangnn1510 0.00 $tone January 27, 2011
Public

Dear Algardata!

Thanks for using and contacting us when you have problems with our product. To put Spolight module to the sidebar-left but not inside the tabs, please do the following:

-- Open: app\design\frontend\default\jm_natris\layout\jmtab s.xml and remove this code:

Code:

<reference name="right">        	
			<block type="joomlart_jmtabs/core" name="jmtabs" before="right.poll">
				<action method="addTabs_block">					
					<title>Latest Product</title>
					<block>joomlart_jmcategorylist/list</block>
					<template>joomlart/jmcategorylist/list.phtml</template>
					<alias>tab1-jmcategorylist</alias>	
				</action>
				<action method="addTabs_block">
					<title>Spotlight Product</title>
					<block>joomlart_jmproductsspotlight/list</block>
					<template>joomlart/jmproductsspotlight/list.phtml</template>
					<alias>tab1-jmproductsspotlight</alias>
				</action>
  			</block>
        </reference>

-- Open app\design\frontend\default\jm_natris\layout\catal og.xml and add this code:

Code:

<block type="joomlart_jmproductsspotlight/list" template="joomlart/jmproductsspotlight/list.phtml" name="tab1-jmproductsspotlight"/>

to about line 60.

You should style more for block spotlight to suit your ideas.

If you have any other problem, please feel free to contact us.

#1

Please login or Register to Submit Answer

Written By

Comments