
Originally Posted by
twomiracles
I would like to make the category image show up on the category page, but not the index page. I thought I could find the code, remove it from the front page and copy it to the category page, but I can't find it.
I'm not sure if it what he was looking for but it may help someone who reads this later:
the default category image is set in the setting.php file located in the themes/kosmos folder
$cat_default_image = $site_url.'/themes/'.$active_theme.'/images/folder.gif';
then in index.php and browse.php the default image is set with the following line
$category_obj->default_image = $cat_default_image;
The above will use the same image for all cats and subcats.
of course you can set a different cat image from the subcat image.
And if you edit the category in the Admin Control Panel, you can set a specific image for any category to override the default cat or subcat image.
.
Last edited by esm; 03-31-2008 at 09:58 PM.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.