Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 previous and next button with page numbers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kuzerman
Starting Member

13 Posts

Posted - November 05 2006 :  21:21:21  Show Profile  Reply with Quote
I looking to have all three markings at the top and bottom of the pages

previous page - 1 2 3 4 5 6 - next page
page x of x
anybody try this yet?
Thanks

webboy
VP-CART New User

Australia
52 Posts

Posted - November 06 2006 :  23:30:10  Show Profile  Reply with Quote
I guess support can offer you more options.

Built for the future
Go to Top of Page

Scooter
VP-CART New User

USA
102 Posts

Posted - November 06 2006 :  23:41:11  Show Profile  Reply with Quote
This prety easy but must change code, not setting.

In shopdisplayproducts.asp find this:

if getconfig("xproductpagingnextprevious")="Yes" then
PageNavBarNext SQL
else
PageNavBar SQL
end if

Change look like

'if getconfig("xproductpagingnextprevious")="Yes" then
PageNavBarNext SQL
'else
PageNavBar SQL
'end if
response.write "<p align=center>" & smallinfofont & getlang("langCommonPage") & " " & mypage & getlang("langCommonOf") & " " & maxpages & smallinfoend

Now find higher up line 159 and make look like

'if getconfig("xproductpagingnextprevious")="Yes" then
PageNavBarNext SQL
'else
PageNavBar SQL
'end if
response.write "<p align=center>" & smallinfofont & getlang("langCommonPage") & " " & mypage & getlang("langCommonOf") & " " & maxpages & smallinfoend

This make page display like you want.

Hope this help.
Scoota
Go to Top of Page

scvit
Starting Member

USA
14 Posts

Posted - November 11 2006 :  17:20:06  Show Profile  Visit scvit's Homepage  Reply with Quote
I tried rhis and there was no change/ Question, on line 159 am I supposed to add this code? or replace some existing code?

please explain.

also, do I have to reload the config after doing this?

Mike

Michael Strauss
Go to Top of Page

Scooter
VP-CART New User

USA
102 Posts

Posted - November 12 2006 :  03:21:38  Show Profile  Reply with Quote
Have look at code maybe and search. My page changed so line maybe different.

No need to change set-up cos you have commented out the config settings.

If you have comments in right spot it shuld work ok.
Go to Top of Page

scvit
Starting Member

USA
14 Posts

Posted - November 12 2006 :  03:34:12  Show Profile  Visit scvit's Homepage  Reply with Quote
Sorry,

i do not understand your reply

Michael Strauss
Go to Top of Page

Scooter
VP-CART New User

USA
102 Posts

Posted - November 12 2006 :  03:43:48  Show Profile  Reply with Quote
Try replacing the code. Should work.
Go to Top of Page

scvit
Starting Member

USA
14 Posts

Posted - November 13 2006 :  14:30:09  Show Profile  Visit scvit's Homepage  Reply with Quote
I have replaced the code and reloaded the shop config.
There is no change in the display.

http://www.embroideryhouse.com/shopexd.asp?id=7820

Any other thoughts?

Michael Strauss
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