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...
Type: Posts; User: Feznizzle
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...
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...
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...
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!
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...
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...
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...
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...
MC, I can put that escaped define back in if you want.
But this is what it yields:
<i class=\"fa fa-search\" aria-hidden=\"true\"></i> Search
I'm pretty sure my define is getting cleaned. Even when I escape the quote mark ( \" ), I wind up with ( \" ).
Using "print" is the closest I've gotten. When I do that, the icon I want shows up,...
Headed in the right direction... ?
I changed this:
define('HEADER_SEARCH_BUTTON','<i class="fa fa-search" aria-hidden="true"></i> Search');
To this:
define('HEADER_SEARCH_BUTTON',print...
When I use quote marks ( " ) in a define, the quote turn into unicode ( ").
I added this as my defined HEADER_SEARCH_BUTTON in includes/languages/english/MY_TEMPLATE/header.php:
<i class="fa...