Forums / Templates, Stylesheets, Page Layout / Replace [Next >>] with a picture

Replace [Next >>] with a picture

Locked

Views: 1,860

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
13 Jun 2007, 5:36 AM
#1
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Replace [Next >>] with a picture

On my https://www.hardwoodcanes.com site, when I have 2 pages of products in one catagory, I'd like to replace the "[Next>>]" that you have to click in order to view the next page with a picture so it's clearer that I have more products available. Where would I do this? I cant find it using the developers tool kit.

Thanks!

Canemasters
www.canemasters.com

13 Jun 2007, 6:23 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Replace [Next >>] with a picture

I think this is what you're looking for, from your english.php file:```
define('PREVNEXT_BUTTON_FIRST', '<<FIRST');
define('PREVNEXT_BUTTON_PREV', '[<< Prev]');
define('PREVNEXT_BUTTON_NEXT', '[Next >>]');
define('PREVNEXT_BUTTON_LAST', 'LAST>>');

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Jun 2007, 4:52 PM
#3
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Replace [Next >>] with a picture

Thank you!

Canemasters
www.canemasters.com

14 Jun 2007, 5:47 PM
#4
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Replace [Next >>] with a picture

So if I wanted to load an image instead of text there, I'd make it say this?

define('PREVNEXT_BUTTON_FIRST', '<<FIRST');
define('PREVNEXT_BUTTON_PREV', '[<< Prev]');
define('PREVNEXT_BUTTON_NEXT', 'next.jpg');
define('PREVNEXT_BUTTON_LAST', 'LAST>>');

Canemasters
www.canemasters.com

14 Jun 2007, 7:01 PM
#5
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Replace [Next >>] with a picture

Yeah, I tried that and it didnt work.

Canemasters
www.canemasters.com

17 Jun 2007, 6:59 AM
#6
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Replace [Next >>] with a picture

I've tried to change that code, and it seems that nothing is changing it. I'm am making changes to the english.php file in my overrides folder.

Canemasters
www.canemasters.com

17 Jun 2007, 7:11 AM
#7
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Replace [Next >>] with a picture

I was changing the wrong english.php. But still, no matter what I change on the proper line" define('PREVNEXT_BUTTON_NEXT', '[Next >>]'); " to, it just changes the text, and will not put an actual image there. Any ideas? :huh:

Canemasters
www.canemasters.com

17 Jun 2007, 9:23 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Replace [Next >>] with a picture

Try the HTML for an image:```
<img src="my_path_to_folder/next.jpg" alt="Next Page" title="next" />

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Jun 2007, 4:53 AM
#9
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Replace [Next >>] with a picture

I'll give that a go. Thanks.

Canemasters
www.canemasters.com

18 Jun 2007, 5:11 AM
#10
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Replace [Next >>] with a picture

DrByte:

Try the HTML for an image:```
<img src="my_path_to_folder/next.jpg" alt="Next Page" title="next" />

Tested, works fine
:clap:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

18 Jun 2007, 5:14 AM
#11
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Replace [Next >>] with a picture

Awesome, that seemed to work! I'll have to remember that next time I want to replace any text with an image.

Canemasters
www.canemasters.com