![]() |
Change images |
Post Reply ![]() |
Author | |
bp_travis ![]() Newbie ![]() Joined: 27-June-2008 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
You have to examine the script that generates the category navigation. The image names are hard-coded in the genCatNavigation.asp script.
|
|
![]() |
|
bp_travis ![]() Newbie ![]() Joined: 27-June-2008 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
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=" Accessorieshttp://www.yourstorename.com/productcart/pc/viewCategories.asp?idCategory=5"> 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.
|
|
![]() |
|
bp_travis ![]() Newbie ![]() Joined: 27-June-2008 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |