Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do you REMOVE jquery icons from the buttons?


xLiMiTx

Recommended Posts

Posted

You would need to modify the jQuery code to remove the image call for the icons.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

Nope. I'm not that good at Javascript anyway, and the jQuery UI code is pretty complex. I suggest that you learn to like the icons. Or learn Javascript.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

<p align="right"><?php echo tep_draw_button(IMAGE_BUTTON_LOGIN, 'key', null, 'primary'); ?></p>

 

<p align="right"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); ?></p>

 

These two lines were taken from the login.php file. As you can see, the image for the login button 'key' is called on this line and the 'triangle-1-e' is called for the Continue button. I have never removed these icons before, but a fair guess would be to remove the 'key', and 'triangle-1-e', code from the lines.......give it a shot, I might be wrong but I might not be.

 

ALWAYS MAKE A BACK UP

 

Chris

Posted

I've tried that. If you don't specify an icon, jQuery helpfully picks one for you.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

I've tried that. If you don't specify an icon, jQuery helpfully picks one for you.

 

Regards

Jim

 

 

lol......oh....ok,

Posted

but if you want remove all icons for all buttons, add in tep_draw_button function (catalog/includes/functions/html_output.php) :

static $icon = null;

after :

static $button_counter = 1;

Posted

but if you want remove all icons for all buttons, add in tep_draw_button function (catalog/includes/functions/html_output.php) :

static $icon = null;

after :

static $button_counter = 1;

that worked perfect fox, thanks for the HELP...

Posted

i HATE to be a pain BUT, now what file would i need to go into to edit the text on the jquery buttons? like the add to cart, reviews, login etc...

Posted

Greg,

 

Most of the button definitions are in the english.php file

 

 

 

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...