Jump to content

Archived

This topic is now archived and is closed to further replies.

joongpark

:::: Adding Category Image to index page ::::

Recommended Posts

I want to display images of all main categories in index page...

 

Like this...

 

http://movion.com/catalog/default.php

 

I am the one who creted that site and I forgot how I did it.

 

I found the method in either contribution or the support forum.

I spent last 2 hours searching the forum and contribution but cannot locate it.

 

Can some one please let me know how to do it again ??

 

Thank you so much.

Share this post


Link to post
Share on other sites

In index.php, right near the top change:

 

$category_depth = 'top';

 

to

 

$category_depth = 'nested';

 

 

around about line 87 change;

 

    if (isset($cPath) && strpos('_', $cPath)) {

 

to:

 

    if (isset($cPath) && ereg('_', $cPath)) {

 

 

Matti


Matti Ressler

 

We were all once expert at...... nothing

_____

Share this post


Link to post
Share on other sites

Hello Johnson,

 

I did this your way, but now I have got the problem that the index page shows a missing image.

www.bhp-motorsport-shop.de

 

Thank you

Share this post


Link to post
Share on other sites

×