Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Prev and Next buttons ...

Prev and Next buttons ...

Locked

Views: 2,088

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
25 Apr 2007, 4:28 PM
#1
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Prev and Next buttons ...

I need to if there is a way to make the [<< prev] and [next >>] links into a button. I know where the tag is for these in the CSS to put a simple background-image in, but as far as I can tell the number ( 1 2 3, etc..) are tied into this style also. How could I separate these since it looks like they are all placed into an array in tpl_modules_product_listing.php

I'm not sure how to gain access to just the prev and next links and not the numbers...maybe some sort of if statement?? Not too sure on this one.

26 Apr 2007, 2:14 PM
#2
gezuvor avatar

gezuvor

New Zenner

Join Date:
Apr 2007
Location:
Orange County, CA
Posts:
88
Plugin Contributions:
2

Re: Prev and Next buttons ...

I have a similar question, in that I want to turn off the Prev & Next display on my site. Too much clutter for my taste, but I cannot find the admin settings aside from changing where it displays on the page... :(

26 Apr 2007, 2:15 PM
#3
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Re: Prev and Next buttons ...

I found where this is last night, let me do some digging/remembering and I'll repost the location

26 Apr 2007, 2:19 PM
#4
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Re: Prev and Next buttons ...

Well, I was trying to do something else rather than just erase those links..but here is where they created and outputted to the screen. You may be able to just erase that whole line, or in your CSS you could try putting

display: none;

instead of display: inline;

for .navNextPrevList

otherwise the file they are in is (includes/classes/split_page_results.php)
somewhere around line 104 and 113 i believe

good luck.

26 Apr 2007, 4:15 PM
#5
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Prev and Next buttons ...

You can turn those links off at Admin/Configuration/Product info/Previous Next - Button and Image Settings

26 Apr 2007, 4:19 PM
#6
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Re: Prev and Next buttons ...

hah, there ya go..much easier

26 Apr 2007, 4:36 PM
#7
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Prev and Next buttons ...

tcschmit:

I need to if there is a way to make the [<< prev] and [next >>] links into a button. I know where the tag is for these in the CSS to put a simple background-image in, but as far as I can tell the number ( 1 2 3, etc..) are tied into this style also. How could I separate these since it looks like they are all placed into an array in tpl_modules_product_listing.php

I'm not sure how to gain access to just the prev and next links and not the numbers...maybe some sort of if statement?? Not too sure on this one.

All you have to do there is replace the linked buttons with your own in \includes\templates\template_default\buttons\english

Be sure to turn CSS buttons off at Admin/Configuration/Layout Settings (all the way to the bottom). Set to "no", if not, already.

27 Apr 2007, 5:26 AM
#8
gezuvor avatar

gezuvor

New Zenner

Join Date:
Apr 2007
Location:
Orange County, CA
Posts:
88
Plugin Contributions:
2

Re: Prev and Next buttons ...

Get Em Fast:

You can turn those links off at Admin/Configuration/Product info/Previous Next - Button and Image Settings

Perfect, thanks!