Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2009
    Posts
    8
    Plugin Contributions
    0

    Default How to change the button label?

    Hi!I'm a newbie. I got a problem on the buttons in zencart. I'm using Zen Cart v1.3.8a/v1.3.8. When you click on each product in the site , the prev, listing and next button all labell was wrong. Three buttons were labelled log-off but its functionality was not mess up. When you click the first button although it was labeled as log-off it still works as previous button and so as the the other 2 buttons. It's problem is only the label. How would i fix this?

    Just an FYI, almost all label name of the buttons in the site were messed up. It was changed to "Log-off"

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: How to change the button label?

    FTP into your server and check the contents of includes/templates/template_default/buttons/english/ (or your language if not english). You may also find this ../buttons/english/ folder in your custom template folder if you're using the overrides properly.

    In the default Zen Cart 1.3.8a install, there are 47 button images in there. Do you have all those? If not, maybe they didn't get uploaded properly when you did the install.

    Rob

  3. #3
    Join Date
    Jan 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: How to change the button label?

    actually, i tried to change it back to the default template and all its button label is correct. anyway, let me check what you have suggested. Im just not so fmailiar with this. The online store was already up when i get in. They just discovered today that the buttons were mess up.

  4. #4
    Join Date
    Jan 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: How to change the button label?

    Hi.. i checked the includes/templates/templatename/buttons/english

    I only see one content the button_quick_find.gif. An image like magnifier. And I think this is not the one being called by the system to display.

    I tried to view source the button and I got this

    HTML Code:
    <div class="buttonRow forward"><a href="http://www.myshop.com/catalog/index.php?main_page=checkout_shipping"><table border=0 cellspacing=0 cellpadding=0><tr><td><img src="includes/templates/templatename/images/az_button_left.gif" border="0" align="absmiddle"></td><td class="az_button_submit" style="vertical-align:middle">&nbsp;&nbsp;Log Off&nbsp;&nbsp;</td><td><img src="includes/templates/templatename/images/az_button_right.gif" border="0" align="absmiddle"></td></tr></table></a></div>
    <div class="buttonRow back"><a href="http://www.myshop.com/catalog/index.php?main_page=product_info&amp;products_id=982"><table border=0 cellspacing=0 cellpadding=0><tr><td><img src="includes/templates/templatename/images/az_button_left.gif" border="0" align="absmiddle"></td><td class="az_button_submit" style="vertical-align:middle">&nbsp;&nbsp;Log Off&nbsp;&nbsp;</td><td><img src="includes/templates/templatename/images/az_button_right.gif" border="0" align="absmiddle"></td></tr></table></a></div>
    <div class="buttonRow back"><IMG border="0" SRC="includes/templates/templatename/images/az_button_left.gif"><input class="az_button_submit" style="padding-top: 1px; padding-bottom: 4px;" type="submit" value="Update your cart"><IMG border="0" SRC="includes/templates/templatename/images/az_button_right.gif"></div>
    Maybe the button label were just being override.

  5. #5
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: How to change the button label?

    Interesting. Your code is looking for the buttons about two folders too high in the folder structure, compared to the current version of Zen Cart anyway. At this point, maybe the best thing to do is find where the buttons are and move them into the folder the code is trying to find them in. In other words, they should be in ...
    includes/templates/template_default/buttons/english/
    ... and maybe they are, but move them to ...
    includes/templates/templatename/images/
    ... and see if that fixes your problem.

    If that helps a lot but causes other buttons to disappear, then maybe leave the full set of buttons in both locations. It won't hurt.

    Can you supply a link to your site? I might be able to make other suggestions if I can see it myself.

    Rob

  6. #6
    Join Date
    Jan 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: How to change the button label?

    this is the link of the site
    http://www.aplusonlineshop.com/catalog/

    the az_button_right.gif that was called can be found in templatename/images/ and so as the other buttons is here.

  7. #7
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: How to change the button label?

    This appears to be a Template Monster template, or from one of their resellers. They make many fundamental changes in the templates which make it very hard to figure out how to fix them. You may have to ask your template provider for help.

    Rob

  8. #8
    Join Date
    Jan 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: How to change the button label?

    omg! huhuh. okay thanks for your time and your help.

  9. #9
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: How to change the button label?

    As Rob says, TemplateMonster Templates are known to be very different from the conventional zencart structure.

    Rob also makes a good point with the images and their locations.

    You can QUICKLY "fix" your problem by doing as he says...

    ... copy all the button images to:

    includes/templates/templatename/images/

    ... so you have the images in a couple of locations - that's OK.
    20 years a Zencart User

  10. #10
    Join Date
    Jan 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: How to change the button label?

    hmmm..I actually tried to inspect the source code using firebug. I see it that there is only one td class that was being called the az_button_submit. Then in the CSS it is declared there "background-image:url(images/az_button_mid.gif);".

    It is just somewhat only one image that was being called and then the label will be changed. Images were not changing. It is not like the usual zen cart that every button has a corresponding image.

 

 

Similar Threads

  1. v151 How to change the button width that in the INPUT element when the css button is used?
    By su35 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Jun 2013, 04:34 PM
  2. how do i change the position of the add to cart button ?
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 39
    Last Post: 11 Feb 2011, 05:32 PM
  3. How to change the "add to card" label ?
    By da23ad in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Sep 2009, 07:28 AM
  4. How do i change the size of the search button at the top?
    By lenswipe in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Jul 2009, 06:44 AM
  5. Change the Group Discount label
    By Bootyrat in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 16
    Last Post: 23 Feb 2007, 05:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR