Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 shopcustadmin.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Trev1982
Starting Member

9 Posts

Posted - March 10 2005 :  14:35:07  Show Profile  Reply with Quote
Anyone know how to customise shopcustadmin.asp

I want to have a page that has picture links instead of text links???

Terry



Edited by - Trev1982 on March 10 2005 14:35:42

Edited by - Trev1982 on March 10 2005 14:36:06

Trev1982
Starting Member

9 Posts

Posted - March 23 2005 :  08:04:16  Show Profile  Reply with Quote
Can no one do this at all?

Basically all I need is to know how to redo this page so that I have pictures rather than text for the links.

Go to Top of Page

bme
Starting Member

35 Posts

Posted - March 23 2005 :  08:19:10  Show Profile  Reply with Quote
I don't use this page but I imagine all you need to do is replace the <a href> tags with an image tag.....

for example;

<p><a href="x"><img src="/images/y" width="a" height="b" border="0" /></a></p>

x=/whateverpage.asp

y=/file name.jpg

a=self explanatory in pixels
b=self explanatory in pixels


Go to Top of Page

Trev1982
Starting Member

9 Posts

Posted - March 23 2005 :  10:16:51  Show Profile  Reply with Quote
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

Go to Top of Page

dcwebman
VP-CART New User

USA
127 Posts

Posted - March 24 2005 :  06:50:50  Show Profile  Reply with Quote
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.


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00