Results 1 to 10 of 149

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: CSS3 Buttons [support thread]

    I see the confusion...." as shown in this code diff: XSS fix " only shows the fix for the specific XSS problem, whereas the entire "Patched file: /includes/functions/html_output.php" contains additional updates to that file for 1.5.5/1.6.0 that are there for other reasons separate from the XSS problem
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: CSS3 Buttons [support thread]

    Regardless the confusion, v1.1.1 is now available for download from the Plugins.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: CSS3 Buttons [support thread]

    I've just submitted v1.1.2 to the plugins for review. That version incorporates downward-compatible changes introduced in Zen Cart v1.5.5.

    Please note that the base functionality of this plugin has been included in the Zen Cart core since v1.5.2. This plugin now extends that functionality, providing a method to insert Font Awesome glyphs into your CSS buttons. If you are running Zen Cart v1.5.2 or later, you'll need to install this plugin only if you want that additional functionality for your store.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: CSS3 Buttons [support thread]

    v1.1.2 is now available for download.

  5. #5
    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 lat9 View Post
    Please note that the base functionality of this plugin has been included in the Zen Cart core since v1.5.2. This plugin now extends that functionality, providing a method to insert Font Awesome glyphs into your CSS buttons. If you are running Zen Cart v1.5.2 or later, you'll need to install this plugin only if you want that additional functionality for your store.
    This is GOOD to know!!!
    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.

  6. #6
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: CSS3 Buttons [support thread]

    Finally got round to changing over to css buttons. Took me a while to work out why my customisations of certain buttons were not taking affect.

    Turns out I had changed most of the *.gif buttons and language defines to *.png but had forgotten about this line of code in function zenCssButton in \includes\functions\html_output.php

    Code:
       $button_name = basename($image, '.gif');
    Changing .gif to .png fixed my immediate problems, however, it seems that I may have to change this code and all the .png buttons and language defines back to .gif because there is currently no provision for mixed image types (eg gif, png, jpg). Sigh!

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: CSS3 Buttons [support thread]

    Quote Originally Posted by dw08gm View Post
    Finally got round to changing over to css buttons. Took me a while to work out why my customisations of certain buttons were not taking affect.

    Turns out I had changed most of the *.gif buttons and language defines to *.png but had forgotten about this line of code in function zenCssButton in \includes\functions\html_output.php

    Code:
       $button_name = basename($image, '.gif');
    Changing .gif to .png fixed my immediate problems, however, it seems that I may have to change this code and all the .png buttons and language defines back to .gif because there is currently no provision for mixed image types (eg gif, png, jpg). Sigh!
    That code fragment can be made extension-agnostic with a small code change:
    Code:
       $button_name = pathinfo ($image,  PATHINFO_BASENAME);
    I don't know if it's too late to "catch" Zen Cart v1.5.5 for this change, but I'll be (re-)submitting an update to this plugin (and its admin-level sibling) real-soon-now.

    UPDATE: Having written that, since the zenCSSButton function doesn't really care about the file extension of the image-based button, I don't think that that's the solution!
    Last edited by lat9; 3 Jan 2016 at 02:13 PM.

 

 

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