Search:

Type: Posts; User: Feznizzle

Search: Search took 0.01 seconds.

  1. v155 Re: Trying to us html in a define... HELP PLEASE!

    Hello IDtags,

    I am fairly certain that this was done via a 'define' contained within a language file. Unfortunately, I am out of town at the moment and do not have access to the necessary computer...
  2. v155 Re: Trying to us html in a define... HELP PLEASE!

    Ok, guess I have no choice but to use the unicode call. Unfortunately, that throws a validation warning:
    https://validator.w3.org/nu/?doc=https%3A%2F%2F002mc.justmedical.biz%2F

    Not a big deal, I...
  3. v155 Re: Trying to us html in a define... HELP PLEASE!

    Ok, I stripped out the passage that seems to build the buttons:


    /*
    * The HTML form submit button wrapper function
    * Outputs a "submit" button in the selected language
    */
    function...
  4. v155 Re: Trying to us html in a define... HELP PLEASE!

    Hey MC, I think I found the file where the buttons are being assembled!

    Here is /includes/functions/html_output.php (look for IMAGE_USE_CSS_BUTTONS):



    Too long, won't let me post!
  5. v155 Re: Trying to us html in a define... HELP PLEASE!

    Because of the div ID (<div id="navMainSearch" class="forward">), I tracked it to /includes/templates/mc001/templates/tpl_ezpages_bar_header.php.

    Here is the entire content of that file (very...
  6. v155 Re: Trying to us html in a define... HELP PLEASE!

    Yes, this is a language file: includes/languages/english/MY_TEMPLATE/header.php

    Edited like this:
    define('HEADER_SEARCH_BUTTON', '<i class="fa fa-search" aria-hidden="true"></i>');

    I...
  7. v155 Re: Trying to us html in a define... HELP PLEASE!

    Small victory: I just managed to insert a symbol into a product description by inserting the call ( <i class="fa fa-search fa-5x" aria-hidden="true"></i> ) directly into the database (rather than...
  8. v155 Re: Trying to us html in a define... HELP PLEASE!

    Btw, I've used that trick ( \" ) effectively in this EXACT cart. But that was for a language file in the admin.

    What I'm thinking is that there must be a cleaner in place, just in case folks try...
  9. v155 Re: Trying to us html in a define... HELP PLEASE!

    MC, I can put that escaped define back in if you want.

    But this is what it yields:
    <i class=\&quot;fa fa-search\&quot; aria-hidden=\&quot;true\&quot;></i>&nbsp;Search
  10. v155 Re: Trying to us html in a define... HELP PLEASE!

    I'm pretty sure my define is getting cleaned. Even when I escape the quote mark ( \" ), I wind up with ( \&quot; ).

    Using "print" is the closest I've gotten. When I do that, the icon I want shows up,...
  11. v155 Re: Trying to us html in a define... HELP PLEASE!

    Headed in the right direction... ?

    I changed this:
    define('HEADER_SEARCH_BUTTON','<i class="fa fa-search" aria-hidden="true"></i>&nbsp;Search');

    To this:
    define('HEADER_SEARCH_BUTTON',print...
  12. v155 Trying to us html in a define... HELP PLEASE!

    When I use quote marks ( " ) in a define, the quote turn into unicode ( &quot;).

    I added this as my defined HEADER_SEARCH_BUTTON in includes/languages/english/MY_TEMPLATE/header.php:
    <i class="fa...
Results 1 to 12 of 12
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR