Hello!
My client loves this component so much, he would like to duplicate it on the product description pages, not just the index page, so it is seen throughout the site. Is this possible, and if so, how do I do this? Thanks.
5 answers
Hi tracy03
Please try with my guider:
+ Create jmcategorylist.xml in layout folder
+ Copy my code into this file:
HTML Code:
<?xml version="1.0"?> <layout version="0.1.0"> <default> <reference name="head"> <action method="addCss"><stylesheet>joomlart/jmcategorylist/css/jm.categorylist.css</stylesheet></action> </reference> </default> <catalog_product_view> <reference name="content"> <block type="joomlart_jmcategorylist/list" name="jmcategorylist" > <action method="set"> <show>1</show> <title>You May Also Like:</title> <mode>latest</mode> <showcat>0</showcat> <link_cat>0</link_cat> <catsid>4,83,75,12,87,37</catsid> <perrow>3</perrow> <leading_product>1</leading_product> <intro_product>2</intro_product> <maxchar>0</maxchar> <template>joomlart/jmcategorylist/list.phtml</template> </action> </block> </reference> </catalog_product_view> </layout>
Thanks!
The layout folder in /app or the layout folder in /skin? Also, for default template or the custom one?
Hi there,
I am sorry for my mistake. It is app\design\frontend\default\your_template\layout folder
I try doing this but when I do, I get a 500 Server Error on my product pages after uploading that .xml file to the folder. When I delete the .xml file my product pages show up again. It’s only the product pages -- the main page and category layout pages aren’t affected.
Hi tracy03
Could you please submit a ticket, send us your live url, admin account, ftp account so that we have a closer look on the issue?
This question is now closed