Print Page | Close Window

Change images

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=2033
Printed Date: 26-February-2025 at 5:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change images
Posted By: bp_travis
Subject: Change images
Date Posted: 06-October-2008 at 3:43pm
How do you change the image used for the expand and close buttons in the main category menu? I want to also change their format to PNG instead of GIF. Thanks. 



Replies:
Posted By: Greg Dinger
Date Posted: 06-October-2008 at 3:54pm
You have to examine the script that generates the category navigation.  The image names are hard-coded in the genCatNavigation.asp script.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: bp_travis
Date Posted: 06-October-2008 at 5:00pm
I actually edited the file names in the inc_catsmenu.asp file. I couldn't find the one you mentioned. However, when the menu initially loads it is still looking for the btn_expand.gif file instead of the new btn_expand.png file. But when you start using the menu it uses the new btn_expand.png file. 


Posted By: Greg Dinger
Date Posted: 06-October-2008 at 5:49pm
genCatNavigation.asp writes a new copy of inc_WholeSaleCatMenu.inc and inc_RetailCatMenu.inc every time you call it.  Those files contain references to those graphics in the form of:
 
<tr><td valign="top"><img align="absmiddle" name="IMGCAT5" border="0" src="images/btn_expand.gif" onclick="javascript:UpDown(5);"></td><td width="100%" valign="top" class=""><a href=" - &nbsp;Accessorieshttp://www.yourstorename.com/productcart/pc/viewCategories.asp?idCategory=5">&nbsp;Accessories</a >
 
If you want a solution that will be flexible so that each time you re-generate the navigation, you really do need to study that file and alter it there.  Then use it to generate the nav file that correctly references your desired images.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: bp_travis
Date Posted: 08-October-2008 at 4:38pm
Hello. Thanks for the info, but this is all I see in the inc_RetailCatMenu.inc file:

<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
</table>

Thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net