Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: need to get rid of a character

    well I put it in both areas and it did nothing. I then removed it from the template override and left it in ONLY the template overid in defines and still the darn button is not showing the right name on it.

    click any category then any image of product (do not click front page images they send you to live store) and see the button in between previous and next...and still no alts show...LOL

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: need to get rid of a character

    Commenting all the lines that were commented will remove A through Z and not just X. If it is/was desired to just remove the one letter then need to restore the lines commented, change the largest value to that of ascii of X, copy those lines and paste below, change the highest value of the new code to what it was above, and then the lowest value to that of Y.

    As to the buttons above, when you say that you left off the your language part, the intention was that english be substituted for your situation. Beyond that, not sure what is going on (yet). :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: need to get rid of a character

    Quote Originally Posted by mc12345678 View Post
    Commenting all the lines that were commented will remove A through Z and not just X. If it is/was desired to just remove the one letter then need to restore the lines commented, change the largest value to that of ascii of X, copy those lines and paste below, change the highest value of the new code to what it was above, and then the lowest value to that of Y.

    As to the buttons above, when you say that you left off the your language part, the intention was that english be substituted for your situation. Beyond that, not sure what is going on (yet). :)
    UM, I did not make meself clear about what in that drop menu was to go away.... there is the stndard alpha listing in the drop menu but...immediately after the Z is found a "#" or sometimes a ": "

    In 1.3.9 there is that character in the file and if you remove it from its 'x' leaving only the single quote it looks fine.


    This is the code and in red are the commented lines as instructed above.....and wellllllll, that last obnoxious character is gone now and my list is showing as it should. 1.5.4 seems to be a whole new animal.

    ----------------------------
    // build alpha sorter dropdown
    if (PRODUCT_LIST_ALPHA_SORTER == 'true') {
    if ((int)$_GET['alpha_filter_id'] == 0) {
    $letters_list[] = array('id' => '0', 'text' => TEXT_PRODUCTS_LISTING_ALPHA_SORTER_NAMES);
    } else {
    $letters_list[] = array('id' => '0', 'text' => TEXT_PRODUCTS_LISTING_ALPHA_SORTER_NAMES_RESET);
    }
    for ($i=65; $i<91; $i++) {
    $letters_list[] = array('id' => sprintf('%02d', $i), 'text' => chr($i) );
    }
    // for ($i=48; $i<58; $i++) {

    // $letters_list[] = array('id' => sprintf('%02d', $i), 'text' => chr($i) );

    // }


    $letters_list[] = array('id' => sprintf('%02d', 48), 'text' => '' ); <--------- here is where the x is located in 1.3.9, which is not there in this version
    }
    if (TEXT_PRODUCTS_LISTING_ALPHA_SORTER != '') {
    echo '<label class="inputLabel">' . TEXT_PRODUCTS_LISTING_ALPHA_SORTER . '</label>' . zen_draw_pull_down_menu('alpha_filter_id', $letters_list, (isset($_GET['alpha_filter_id']) ? $_GET['alpha_filter_id'] : ''), 'onchange="this.form.submit()"');
    } else {
    echo zen_draw_pull_down_menu('alpha_filter_id', $letters_list, (isset($_GET['alpha_filter_id']) ? $_GET['alpha_filter_id'] : ''), 'onchange="this.form.submit()"');
    }
    -------------------------------------

 

 

Similar Threads

  1. Need to get rid of security message
    By mrdean11 in forum PayPal Website Payments Pro support
    Replies: 6
    Last Post: 5 Jan 2011, 02:27 PM
  2. need to get rid of decimal point or .00 in prices
    By paha in forum Customization from the Admin
    Replies: 2
    Last Post: 8 Jul 2008, 12:08 AM
  3. Need to get rid of few things.....
    By wmorris in forum General Questions
    Replies: 10
    Last Post: 7 Aug 2007, 03:38 AM
  4. Cant get rid of character
    By janks in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 10 Jul 2006, 10:04 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