i want to show root categories with image and description on home page content area.
Basically i want show them as slides, each category scrolling with its image and description.
Please suggest
category
i want to show root categories with image and description on home page content area.
Basically i want show them as slides, each category scrolling with its image and description.
Please suggest
Best Answer
You need to create your own block, or at least one template.
Here is the short version using only a template.
Create the file
app/design/frontend/base/default/template/homepage/categories.phtml
with this content:Now you need to add this to the homepage content:
The markup of the template may need some modifications in order to make it a slider, but all the elements you need are there.
There is a cleaner method where you create you own block and move the code that retrieves the categories to a block method and call that method in the template. But the idea is the same.
I haven't tested the code so be careful at syntax errors.