Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 Page _ of _, [1] and Back/Next on Product pages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

stone5150
VP-CART New User

USA
186 Posts

Posted - May 12 2007 :  06:12:04  Show Profile  Visit stone5150's Homepage  Reply with Quote
Not a bug but a better way to display Page _ of _, [1] and Back/Next on Product pages. On about line 230 of shopdisplayproducts.asp there is a script to display those things. It shows page 1 of 1 and the page numnber even if there is only one page. My script does it better by only displaying this if there is more than one page of products and IMO displays it nicely.

If maxpages > "1" Then
PageNavBarNext SQL
response.write smallinfofont & getlang("langCommonPage") & " " & mypage & getlang("langCommonOf") & " " & maxpages & smallinfoend
PageNavBar SQL
end if

You can also add it to line 170 or so to make the same thing show up (or not show up) on the top of the page.

As always, have a backup of the file in case you make a mistake.

Bob Stone
www.kansasstamps.org
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00