Trev1982
Starting Member
9 Posts |
Posted - March 23 2005 : 10:16:51
|
ok, but the code is written like this:
Sub SetUpMenus '*********************************************************************** ' First field is the caption the customer sees ' Second is URL to go to ' Third is "Yes" (case sensitive) If Yes menu is displayed '************************************************************************ menucount=0 AddMenuItem getlang("langAdminLogin"),"shopcustadminlogin.asp", LoginFlag AddMenuItem getlang("langCustAdminStatus"),"shopstatus.asp", getconfig("xAllowReviewOrders") AddMenuItem getlang("langCouponDiscount"),"shopcustadmincoupon.asp",getconfig("xAllowCoupons") AddMenuItem getlang("langGiftRedeem"),"shopcustadmingift.asp", getconfig("xGiftCertificates") AddMenuItem getlang("langGiftBuy"),"shopgift.asp", getconfig("xGiftCertificates") AddmenuItem getlang("langCustAdminDetails"),"shopcustupdate.asp",getconfig("xAllowCustomerUpdates") AddMenuItem getlang("langLoginForgot"),"shopmailpwd.asp", getconfig("xPassword") AddMenuItem getlang("langMaillistSubject"),"shopcustregister.asp", getconfig("xAllowcustomerregister") AddMenuItem getlang("langCustAdminMailList"),"shopmaillist.asp", getconfig("xAllowMailList") AddMenuItem getlang("langSupplierAdmin"),"shopsupplierregister.asp", getconfig("xAllowSupplierRegister") AddMenuItem getlang("langGiftRegistry"),"shopgiftregadmin.asp", getconfig("xgiftregistry") AddMenuItem getlang("langContactus"),"shopcustcontact.asp", getconfig("xcontactform") AddMenuItem getlang("langWishList") & " " & getlang("langcommonView"),"shopsaveperm.asp", getconfig("xwishlist") AddMenuItem getlang("langWishList") & " " & getlang("LangProductProduct"),"shopwishlist.asp?action=list", getconfig("xproductwishlist") AddMenuItem getlang("langSaveCartPrompt"),"shopsavecart.asp", getconfig("xAllowSaveCart") ' Sept 26, 2003 add redeem points AddMenuItem Getlang("langredeempoints"),"shoppointsredeem.asp", getconfig("xpointsredeem") menucount=menucount-1 Shopproductcheck end sub
|
|
|
dcwebman
VP-CART New User
USA
127 Posts |
Posted - March 24 2005 : 06:50:50
|
Terry, If you want images instead of text links, it looks like this is the easiest way to do what you want. 1. Change the lines like: AddMenuItem getlang("langAdminLogin"),"shopcustadminlogin.asp", LoginFlag to have the first parameter be the location to your image instead of the text it displays.
2. Modify the FormatRow sub so instead of displaying "name", display the image "name" using the img HTML tag. You may want to comment out that line that puts the number in front of the text too depending on how you want your resulting page to look.
I think that quick and dirty way should do it.
|
|
|