Author |
Topic |
|
printerwerx
Starting Member
Canada
41 Posts |
Posted - August 25 2008 : 11:21:02
|
Hi!
I am looking for the coding for the next page/prev page function. I would like to know where this coding is, and if it is alrady known, to add it to the top of the product display page as well as the bottom of the page (is already at the bottom).
Also, where is the shop.css can i find the color configurations for this?
Thank you in advance for the help. |
|
carfin
VP-CART Expert
United Kingdom
948 Posts |
Posted - August 25 2008 : 17:27:05
|
The function is in the file shopdisplayproducts.asp around line 225:
if getconfig("xproductpagingnextprevious")="Yes" then PageNavBarNext SQL else PageNavBar SQL end if
The css for this is in the file shop.css: ' Navigation const PageNavTable="<table border=""0"" width=""100%"">" const PageNavRow="<tr>" const PageNavColumn="<td class=""ac"">" const PageNavFont="" const PageNavFontEnd="" const PageNavTableEnd="</td></tr></table>"
Hope this helps
Regards, Carrol www.deanston-electrical.co.uk |
|
|
printerwerx
Starting Member
Canada
41 Posts |
Posted - August 26 2008 : 09:05:25
|
Found everything alright, but I can't find a way to get it added to the top of the displayed products as well as the bottom of the page. |
|
|
carfin
VP-CART Expert
United Kingdom
948 Posts |
Posted - August 27 2008 : 08:57:07
|
Hi,
in shopdisplayproducts.asp find line 170, should be:
'response.write "<p class=""ac"">" & smallinfofont & getlang("langCommonPage") & " " & mypage & getlang("langCommonOf") & " " & maxpages & smallinfoend & "</p>"
Take the ' away from the start of the line. This will give you a display like Page 1 of 3. If all you want at the top is the same paging at the foot of the page, then insert at line 170:
if getconfig("xproductpagingnextprevious")="Yes" then PageNavBarNext SQL else PageNavBar SQL end if
Regards,
Carrol www.deanston-electrical.co.uk |
|
|
printerwerx
Starting Member
Canada
41 Posts |
Posted - August 28 2008 : 09:28:45
|
thank you, worked perfectly :) |
|
|
|
Topic |
|