Guest Posted February 8, 2007 Share Posted February 8, 2007 I would like to show the sub category thumbnails instead of the full sub category image when the sub categories are all shown together under their category. Has anyone done this? There doesn't appear to be a macro for category thumbnails, only product thumbnails. Is there a mod available? Quote Link to comment Share on other sites More sharing options...
Guest paperplayers.com Posted May 1, 2007 Share Posted May 1, 2007 Have you figured this out? Thanks. I would like to show the sub category thumbnails instead of the full sub category image when the sub categories are all shown together under their category. Has anyone done this? There doesn't appear to be a macro for category thumbnails, only product thumbnails. Is there a mod available? Quote Link to comment Share on other sites More sharing options...
markscarts Posted May 1, 2007 Share Posted May 1, 2007 Here is a hack, or mod if you will. Be sure to SAVE and RENAME original files, in other words back up your files before editing them. No one but you are responsible for the changes you make to your files here OPEN includes/content/viewCat.inc.php FIND about line 82: $view_cat->assign("IMG_CATEGORY",$GLOBALS['rootRel']."images/uploads/".$subCategories[$i]['cat_image']); PASTE this line below it: $view_cat->assign("THUMB_CATEGORY",$GLOBALS['rootRel']."images/uploads/thumbs/thumb_".$subCategories[$i]['cat_image']); SAVE and UPLOAD that file to your store. Now, OPEN skins/xx/styleTemplates/content/viewCat.tpl FIND this line of code: <a href="index.php?act=viewCat&catId={TXT_LINK_CATID}" class="txtDefault"><img src="{IMG_CATEGORY}" alt="{TXT_CATEGORY}" border="0" title="{TXT_CATEGORY}" /></a><br /> CHANGE to this line: <a href="index.php?act=viewCat&catId={TXT_LINK_CATID}" class="txtDefault"><img src="{THUMB_CATEGORY}" alt="{TXT_CATEGORY}" border="0" title="{TXT_CATEGORY}" /></a><br /> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.