Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ALT tags


fabriccut100

Recommended Posts

The code for that is in /catalog/includes/functions/html_output.php

 

////
// Output a separator either through whitespace, or with an image
 function tep_draw_separator($image = 'pixel_black.gif', $width = '100%', $height = '1') {
return tep_image(DIR_WS_IMAGES . $image, '', $width, $height);
 }

If you wanted it to always be the same text the code would be something like this:

 

////
// Output a separator either through whitespace, or with an image
 function tep_draw_separator($image = 'pixel_black.gif', $width = '100%', $height = '1') {
return tep_image(DIR_WS_IMAGES . $image, 'PUT YOUR ALT TEXT HERE', $width, $height);
 }

If you want varaible alt text we'd need to do something else.

 

As always, backup anything before making any edits.

 

You broke it - you bought it...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...