Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help!


edmond1815

Recommended Posts

Posted

Hello,

 

I asked before, and i will ask again more specify:

 

I have this page on my store, direct in catalog : "pagina1.php"

 

This is a clone after conditions.php from information box.

Inside i have "<td class="main"><?php echo TEXT_INFORMATION; ?></td>"

 

 

In my language folder i have a file "pagina1.php" wich contains:

 

define('TEXT_INFORMATION', 'etc, etc, etc, etc.');

?>

 

Instead that text i want to show pictures. 1, 2, 3...few pictures in main, on that link.

 

What should i change?

 

Please help, i am testing, and searching from 2 weeks, answers..

 

 

Thanks

Posted

Something like this:

 

define('TEXT_INFORMATION', '<center>' . tep_image(DIR_WS_IMAGES . IMAGE1_NAME_HERE, 'MOUSEOVER1_TEXT_HERE') . '<br>' . tep_image(DIR_WS_IMAGES . IMAGE2_NAME_HERE, 'MOUSEOVER2_TEXT_HERE') . '<br>' . tep_image(DIR_WS_IMAGES . IMAGE3_NAME_HERE, 'MOUSEOVER3_TEXT_HERE') . '</center>' );

The images should be in your images folder where all your other osC images are.

 

In the code above change:

 

IMAGE1_NAME_HERE - first image name

 

MOUSEOVER1_TEXT_HERE - text to display on mouseover on image one

 

IMAGE2_NAME_HERE - second image name

 

MOUSEOVER2_TEXT_HERE - text to display on mouseover on image two

 

IMAGE3_NAME_HERE - third image name

 

MOUSEOVER3_TEXT_HERE - text to display on mouseover on image three

 

I have some HTML formatting in there. It may/may not fit your needs.

 

You can modify that to suit.

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 >

Archived

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

×
×
  • Create New...