Results 1 to 8 of 8

Threaded View

  1. #1
    Join Date
    Oct 2008
    Posts
    4
    Plugin Contributions
    0

    help question Custom Buttons Issues

    Ok I am having issues with buttons on my site. I have created the button images, have read the FAQ page, have redone the button_names.php file. After doing this all that show's on the pages is the redx with the name. What am I doing wrong?

    The website is setup so we have the main site and then a folder (zen-cart) for the shopping cart, all of the zen cart stuff is in that folder. This file is located at website name /zen-cart/includes/languages/english/button_names.php

    the buttom images themselves are under:
    website name /zen-cart/includes/templates/My-Templates/buttons

    There names are:
    addaddress-button.jpg
    addtocart-button.jpg
    backarrow_icon.gif
    buttons.jpg
    buynow-button.jpg
    cancel-button.jpg
    changeaddress-button.jpg
    checkout-button.jpg
    confirm-button.jpg
    continue-button.jpg
    continuecheckout-button.jpg
    continueshopping-button.jpg
    createaccount-button.jpg
    delete-button.jpg
    deletesmall-button.jpg
    download-button.jpg
    editsmall-button.jpg
    incart-button.jpg
    login-button.jpg
    logout-button.jpg
    morereviews-button.jpg
    next-button.gif
    productdetails-button.jpg
    readreview-button.jpg
    redeem-button.jpg
    returnlist-button.jpg
    review-button.jpg
    search-button.jpg
    sendanother-button.jpg
    send-button.jpg
    sendgiftcertificate-button.jpg
    shippingestimator-button.jpg
    soldout-button.jpg
    submit-button.jpg
    tellafriend-button.jpg
    unsubscribe-button.jpg
    update-button.jpg
    view-button.jpg
    writereview-button.jpg

    Here is the PHP file code:

    Code:
    <?php
    /**
     * @package languageDefines
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: button_names.php 5410 2006-12-27 03:56:46Z drbyte $
     */
    
    
    /**
     * define the button images used in the project
     */
    
    define('BUTTON_IMAGE_ADD_TO_CART', '/zen-cart/includes/templates/My-Templates/buttons/addtocart-button.jpg');
    define('BUTTON_IMAGE_ADD_ADDRESS', '/zen-cart/includes/templates/My-Templates/buttons/addaddress-button.jpg');
    define('BUTTON_IMAGE_ADD_PRODUCTS_TO_CART','/zen-cart/includes/templates/My-Templates/buttons/addtocart-button.jpg');
    define('BUTTON_IMAGE_BACK', '/zen-cart/includes/templates/My-Templates/buttons/backarrow_icon.gif');
    define('BUTTON_IMAGE_BUY_NOW', '/zen-cart/includes/templates/My-Templates/buttons/buynow-button.jpg');
    define('BUTTON_IMAGE_CANCEL', '/zen-cart/includes/templates/My-Templates/buttons/cancel-button.jpg');
    define('BUTTON_IMAGE_CHANGE_ADDRESS', '/zen-cart/includes/templates/My-Templates/buttons/changeaddress-button.jpg');
    define('BUTTON_IMAGE_CHECKOUT', '/zen-cart/includes/templates/My-Templates/buttons/checkout-button.jpg');
    define('BUTTON_IMAGE_CONFIRM_SEND', '/zen-cart/includes/templates/My-Templates/buttons/confirm-button.jpg');
    define('BUTTON_IMAGE_CONFIRM_ORDER', '/zen-cart/includes/templates/My-Templates/buttons/confirm-button.jpg');
    define('BUTTON_IMAGE_CONTINUE', '/zen-cart/includes/templates/My-Templates/buttons/continue-button.jpg');
    define('BUTTON_IMAGE_CONTINUE_SHOPPING', '/zen-cart/includes/templates/My-Templates/buttons/continueshopping-button.jpg');
    define('BUTTON_IMAGE_DELETE', '/zen-cart/includes/templates/My-Templates/buttons/delete-button.jpg');
    define('BUTTON_IMAGE_DELETE_SMALL', '/zen-cart/includes/templates/My-Templates/buttons/deletesmall-button.jpg');
    define('BUTTON_IMAGE_DOWNLOAD', '/zen-cart/includes/templates/My-Templates/buttons/download-button.jpg');
    define('BUTTON_IMAGE_EDIT_SMALL', '/zen-cart/includes/templates/My-Templates/buttons/editsmall-button.jpg');
    define('BUTTON_IMAGE_IN_CART', '/zen-cart/includes/templates/My-Templates/buttons/incart-button.jpg');
    define('BUTTON_IMAGE_LOGIN', '/zen-cart/includes/templates/My-Templates/buttons/login-button.jpg');
    define('BUTTON_IMAGE_NEXT', '/zen-cart/includes/templates/My-Templates/buttons/next-button.gif');
    define('BUTTON_IMAGE_PREVIOUS', '/zen-cart/includes/templates/My-Templates/buttons/backarrow_icon.gif');
    define('BUTTON_IMAGE_REDEEM', '/zen-cart/includes/templates/My-Templates/buttons/redeem-button.jpg');
    define('BUTTON_IMAGE_RETURN_TO_PROD_LIST', '/zen-cart/includes/templates/My-Templates/buttons/returnlist-button.jpg');
    define('BUTTON_IMAGE_REVIEWS', '/zen-cart/includes/templates/My-Templates/buttons/review-button.jpg');
    define('BUTTON_IMAGE_SEARCH', '/zen-cart/includes/templates/My-Templates/buttons/search-button.jpg');
    define('BUTTON_IMAGE_SEND', '/zen-cart/includes/templates/My-Templates/buttons/send-button.jpg');
    define('BUTTON_IMAGE_SEND_A_GIFT_CERT', '/zen-cart/includes/templates/My-Templates/buttons/sendgiftcertificate-button.jpg');
    define('BUTTON_IMAGE_SEND_ANOTHER', '/zen-cart/includes/templates/My-Templates/buttons/sendanother-button.jpg');
    define('BUTTON_IMAGE_SHIPPING_ESTIMATOR', '/zen-cart/includes/templates/My-Templates/buttons/shippingestimator-button.jpg');
    define('BUTTON_IMAGE_SOLD_OUT','/zen-cart/includes/templates/My-Templates/buttons/soldout-button.jpg');
    define('BUTTON_IMAGE_SOLD_OUT_SMALL','/zen-cart/includes/templates/My-Templates/buttons/soldout-button.jpg');
    define('BUTTON_IMAGE_SUBMIT', '/zen-cart/includes/templates/My-Templates/buttons/submit-button.jpg');
    define('BUTTON_IMAGE_TELL_A_FRIEND', '/zen-cart/includes/templates/My-Templates/buttons/tellafriend-button.jpg');
    define('BUTTON_IMAGE_TELLAFRIEND', '/zen-cart/includes/templates/My-Templates/buttons/tellafriend-button.jpg');
    define('BUTTON_IMAGE_UNSUBSCRIBE', '/zen-cart/includes/templates/My-Templates/buttons/unsubscribe-button.jpg');
    define('BUTTON_IMAGE_UPDATE', '/zen-cart/includes/templates/My-Templates/buttons/update-button.jpg');
    define('BUTTON_IMAGE_VIEW_SMALL', '/zen-cart/includes/templates/My-Templates/buttons/view-button.jpg');
    define('BUTTON_IMAGE_WRITE_REVIEW', '/zen-cart/includes/templates/My-Templates/buttons/writereview-button.jpg');
    define('BUTTON_IMAGE_READ_REVIEWS', '/zen-cart/includes/templates/My-Templates/buttons/readreview-button.jpg');
    define('BUTTON_IMAGE_GOTO_PROD_DETAILS', '/zen-cart/includes/templates/My-Templates/buttons/productdetails-button.jpg');
    define('BUTTON_IMAGE_MORE_REVIEWS', '/zen-cart/includes/templates/My-Templates/buttons/morereviews-button.jpg');
    define('BUTTON_IMAGE_CONTINUE_CHECKOUT', '/zen-cart/includes/templates/My-Templates/buttons/continuecheckout-button.jpg');
    //define('PREVNEXT_BUTTON_NEXT', '[Next&nbsp;&gt;&gt;]');
    //define('PREVNEXT_BUTTON_LAST', 'LAST&gt;&gt;');
    
    
    define('BUTTON_IMAGE_CREATE_ACCOUNT', '/zen-cart/includes/templates/My-Templates/buttons/createaccount-button.jpg');
    define('BUTTON_IMAGE_LOG_OFF', '/zen-cart/includes/templates/My-Templates/buttons/logout-button.jpg');
    /*
     * ALT tags used for buttons
     */
     
    define('BUTTON_CREATE_ACCOUNT_ALT', 'Sign Up');
    define('BUTTON_LOG_OFF_ALT', 'Log Off');
    define('BUTTON_ADD_TO_CART_ALT', 'Add This to My Cart');
    define('BUTTON_ADD_ADDRESS_ALT', 'Add Address');
    define('BUTTON_ADD_PRODUCTS_TO_CART_ALT','Add Selected Products to Cart');
    define('BUTTON_BACK_ALT', 'Back');
    define('BUTTON_BUY_NOW_ALT', 'Buy Now');
    define('BUTTON_CANCEL_ALT', 'Cancel');
    define('BUTTON_CHANGE_ADDRESS_ALT', 'Change Address');
    define('BUTTON_CHECKOUT_ALT', 'Checkout');
    define('BUTTON_CONFIRM_SEND_ALT', 'Send Gift Certificate');
    define('BUTTON_CONFIRM_ORDER_ALT', 'Confirm Order');
    define('BUTTON_CONTINUE_ALT', 'Continue');
    define('BUTTON_CONTINUE_SHOPPING_ALT', 'Continue Shopping');
    define('BUTTON_DELETE_ALT', 'Delete');
    define('BUTTON_DELETE_SMALL_ALT', 'Delete');
    define('BUTTON_DOWNLOAD_ALT', 'Download Now');
    define('BUTTON_EDIT_SMALL_ALT', 'Edit');
    define('BUTTON_IN_CART_ALT', 'Add to Cart');
    define('BUTTON_LOGIN_ALT', 'Sign In');
    define('BUTTON_NEXT_ALT', 'Next');
    define('BUTTON_PREVIOUS_ALT', 'Previous');
    define('BUTTON_REDEEM_ALT', 'Redeem');
    define('BUTTON_RETURN_TO_PROD_LIST_ALT', 'Return to the Product List');
    define('BUTTON_REVIEWS_ALT', 'Go to the Reviews Page');
    define('BUTTON_SEARCH_ALT', 'Search');
    define('BUTTON_SEND_ALT', 'Send Now');
    define('BUTTON_SEND_ANOTHER_ALT', 'Send Another Gift Certificate');
    define('BUTTON_SEND_A_GIFT_CERT_ALT', 'Send A Gift Certificate');
    define('BUTTON_SHIPPING_ESTIMATOR_ALT', 'Shipping Estimator');
    define('BUTTON_SOLD_OUT_ALT', 'Sold Out');
    define('BUTTON_SOLD_OUT_SMALL_ALT', 'Sold Out');
    define('BUTTON_SUBMIT_ALT', 'Submit the Information');
    define('BUTTON_TELL_A_FRIEND_ALT', 'Tell a Friend');
    define('BUTTON_TELLAFRIEND_ALT', 'Tell a Friend');
    define('BUTTON_UNSUBSCRIBE', 'Unsubscribe');
    define('BUTTON_UPDATE_ALT', 'Update');
    define('BUTTON_VIEW_SMALL_ALT', 'View');
    define('BUTTON_WRITE_REVIEW_ALT', 'Write Review');
    define('BUTTON_READ_REVIEWS_ALT', 'Read the Review');
    define('BUTTON_GOTO_PROD_DETAILS_ALT', 'Go To This Product\'s Detailed Information');
    define('BUTTON_MORE_REVIEWS_ALT', 'Read More Reviews');
    ?>
    Is there something I am missing?
    Last edited by TrendyCamera; 8 Oct 2008 at 04:05 PM.

 

 

Similar Threads

  1. v150 Custom Buttons
    By pamela631 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 1 Jun 2013, 05:29 PM
  2. Custom buttons
    By SQUAREGUM in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Dec 2007, 12:16 PM

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