Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / SHOW_ALL_BUTTON mixup

SHOW_ALL_BUTTON mixup

Views: 1,227

Results 1 to 5 of 5
31 Oct 2015, 10:21 PM
#1
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

SHOW_ALL_BUTTON mixup

Hey everyone, I have a missing icon on inventory listing pages that have more than 20 items.... instead of an icon, it's showing a "SHOW_ALL_BUTTON" link. If you click on it, everything works fine. I looked in the developers toolkit and did a search on SHOW_ALL_BUTTON but nothing appears. Can anyone give me an idea whether this is a template file or a zen-cart file ? Any suggestions are really appreciated...

1 Nov 2015, 7:56 AM
#2
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: SHOW_ALL_BUTTON mixup

Hi

Look in includes/languages/yourtemplate/English.php

If missing try :

Define('SHOW_ALL_BUTTON','View All');
1 Nov 2015, 5:54 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: SHOW_ALL_BUTTON mixup

lruskauff:

Hi

Look in includes/languages/yourtemplate/English.php

If missing try :

define('SHOW_ALL_BUTTON','View All');


Also need to add a define for the popup text: SHOW_ALL_TITLE.

define('SHOW_ALL_TITLE', 'View All');


One thing though, try searching on show_all without button or title, I seem to recall some Button related functions that would add _BUTTON and _TITLE respectively when a button was created... Just can't find it right now, and sorry working on something else but saw this while passing through earlier today.
1 Nov 2015, 8:00 PM
#4
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: SHOW_ALL_BUTTON mixup

Thanks for the quick response ... worked great! For anyone else needing to do this, the buttons I changed were the SHOW_ALL_BUTTON and the SHOW_PAGEVIEW_BUTTON

1 Nov 2015, 9:15 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: SHOW_ALL_BUTTON mixup

mrcastle:

Thanks for the quick response ... worked great! For anyone else needing to do this, the buttons I changed were the SHOW_ALL_BUTTON and the SHOW_PAGEVIEW_BUTTON

For completeness, did you get the associated popup text on hover of the button as well?