Page 1 of 2 12 LastLast
Results 1 to 10 of 149

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: CSS3 Buttons [support thread]

    The Delete button is always shown as an icon. You can change the image used by copying /includes/languages/english/icon_names.php to /includes/languages/english/new1.5/icon_names.php and editing the name of the ICON_IMAGE_TRASH (make sure to copy the new icon to /includes/templates/new1.5/buttons/icons).

    For the Update button, you'll copy/edit the same file to reduce the length of ICON_UPDATE_ALT; the default behavior is to use the button images of the alt-text is longer than 40 characters.

    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: icon_names.php 4224 2006-08-24 01:41:50Z drbyte $
     */
    
    // define the icon images used in the project
    define('ICON_IMAGE_ERROR', 'error.gif');
    define('ICON_IMAGE_WARNING', 'warning.gif');
    define('ICON_IMAGE_SUCCESS', 'success.gif');
    define('ICON_IMAGE_TRASH', 'small_delete.gif');
    define('ICON_IMAGE_UPDATE', 'button_update_cart.gif');
    define('ICON_IMAGE_TINYCART', 'cart.gif');
    
    //alt tags for buttons
    define('ICON_ERROR_ALT', 'Error');
    define('ICON_SUCCESS_ALT', 'Success');
    define('ICON_WARNING_ALT', 'Warning');
    define('ICON_TRASH_ALT', 'Delete this item from the cart by clicking this icon.');
    define('ICON_UPDATE_ALT', 'Update');
    define('ICON_TINYCART_ALT', 'Add this product to your cart by clicking here.');
    
    ?>

  2. #2
    Join Date
    Feb 2010
    Posts
    237
    Plugin Contributions
    0

    Default Re: CSS3 Buttons [support thread]

    Thanks. That made my shopping cart page just how I wanted it.

    I apologize for all the stupid questions, but some of this stuff does not seem that intuitively obvious.

    Dave

  3. #3
    Join Date
    Sep 2012
    Posts
    48
    Plugin Contributions
    0

    Default Re: CSS3 Buttons [support thread]

    I am interested in using these buttons on my site, but would like to test them before deleting current package? I am very new to zencart and know very little about it. I am currently in the buttons section of my site. If i click english all the buttons populate. I have downloaded the file. What should I do next?

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: CSS3 Buttons [support thread]

    Quote Originally Posted by VBE-1 View Post
    I am interested in using these buttons on my site, but would like to test them before deleting current package? I am very new to zencart and know very little about it. I am currently in the buttons section of my site. If i click english all the buttons populate. I have downloaded the file. What should I do next?
    Follow the install instructions in the readme of this add on and install it..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: CSS3 Buttons [support thread]

    Quote Originally Posted by top hatt View Post
    Thanks. That made my shopping cart page just how I wanted it.

    I apologize for all the stupid questions, but some of this stuff does not seem that intuitively obvious.

    Dave
    I'm happy to have helped, Dave. I'll admit that it took me a while to figure out why the "Update" button wasn't working for you, since it's working fine on my site!

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: CSS3 Buttons [support thread]

    @vbe-1: Like DivaVocals said, just follow the instructions in the readme for the installation. You enable these buttons via the admin Configuration switch; your image buttons are not affected. You can always go back to your image buttons by "flipping" the configuration switch to indicate that you don't want to use the CSS buttons.
    Last edited by lat9; 7 Sep 2012 at 01:29 PM.

  7. #7
    Join Date
    Sep 2012
    Location
    Illinois
    Posts
    24
    Plugin Contributions
    0

    Default Re: CSS3 Buttons [support thread]

    Hi,

    First off, I thank you for this mod because it looks really cool. I'm having a slight problem with it though and I'm not sure what to do. I'm building a new shop and I installed the mod as instructed and edited the stylesheet to match my site. My problem is that some buttons aren't functioning as the CSS3 buttons until you mouseover them including the "search" button in the header and the "send now" button on the contact page. Could you tell me what I'm doing wrong? My shop is at http://shop.d9s.co/

    Thank you!

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: CSS3 Buttons [support thread]

    It looks like you didn't completely install the plugin, since the HTML generated for the "normal" (i.e. link) and submit (i.e. input) buttons is the default Zen-Cart version. Make sure that you've correctly copied /includes/functions/html_output.php to your store.

  9. #9
    Join Date
    Sep 2012
    Location
    Illinois
    Posts
    24
    Plugin Contributions
    0

    Default Re: CSS3 Buttons [support thread]

    Quote Originally Posted by lat9 View Post
    It looks like you didn't completely install the plugin, since the HTML generated for the "normal" (i.e. link) and submit (i.e. input) buttons is the default Zen-Cart version. Make sure that you've correctly copied /includes/functions/html_output.php to your store.
    Ah, I see what happened. One mod overwrote the other. When I installed the Ceon SEO mod it overwrote the html_output.php file. I combined the two files and now it works just fine. Thank you so much for your help! I greatly appreciate it. :)

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: CSS3 Buttons [support thread]

    Since there was no change to the Zen Cart v1.5.1 version of /includes/functions/html_output.php and this plugin includes no calls to either htmlentities or htmlspecialchars, it's Zen Cart v1.5.1-ready!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. SysCheck [support thread]
    By swguy in forum All Other Contributions/Addons
    Replies: 36
    Last Post: 24 Oct 2020, 05:28 AM
  3. v150 CSS Buttons for Admin [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 24 Dec 2015, 09:13 PM
  4. goMobile Support Thread
    By steveyork136 in forum Addon Templates
    Replies: 29
    Last Post: 26 Aug 2015, 11:56 AM
  5. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM

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