![]() |
Display Sub Categories in 2 or 3 column + Pic
I am wondering does anyone done this yet or know how to do this ?..
I want to display my sub-Categories in 2 or 3 column with catagory picture infront of each one name .. i am wondering how do it this ? example : Cat-Pic 1 : Cat name 1 | Cat-Pic 2 : Cat Name 2 | Cat-pic 2 : Cat name 2 Cat-Pic 4 : Cat name 4 | Cat-Pic 5 : Cat Name 5 | Cat-pic 6 : Cat name 6 Thank in advance for help |
Re: Display Sub Categories in 2 or 3 column + Pic
Try to use the following code in the template where the $subcategories array is defined:
Code:
{assign var="cell_counter" value="0"} Also, I'd recommend you to move your category images to the file system. You can perform it under admin area on the "Images location" page. |
Re: Display Sub Categories in 2 or 3 column + Pic
i found " subcategories.tpl " but it is look like not the place where $subcategories is define .. and it is a lot files to look into .. BUT .. if we assignt this to file where " $subcategories " is define will it effect the menu system ? i saw it use " $subcategories " too.
|
Re: Display Sub Categories in 2 or 3 column + Pic
This code should work on the categories pages, products listing and product details page.
On these pages you can use this code in any templates which are included to show the appropriate content. |
Re: Display Sub Categories in 2 or 3 column + Pic
can i know which file(s) exacly that i should modify and add the code to it ?
|
Re: Display Sub Categories in 2 or 3 column + Pic
Quote:
Generally the subcategories list on the category details page. Therefore you should edit the "skin1/customer/main/subcategories.tpl" template as you previously did it. If you have any problem with code implementing I'd recommend you to contact your Support team in your Help Desk account. |
Re: Display Sub Categories in 2 or 3 column + Pic
Quote:
"skin1/customer/main/subcategories.tpl" Find in the file the following code and replace at that what you wrote above. PHP Code:
|
All times are GMT -8. The time now is 06:48 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.