Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Flash Banners (OSC Affiliates)


renny

Recommended Posts

Dear Renny,

 

I needed the same changes like you. Here goes -

 

Changes to be made in - catalog/includes/footer.php

 

1.

At the bottom look for the following and delete it:

<?php

if ($banner = tep_banner_exists('dynamic', '468x50')) {

?>

 

 

2.

Just below that look for the following:

<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>

 

and replace with the following:

<td align="center"><embed src='images/Movie.swf' type='application/x-shockwave-flash' width='650' height='75' border='0' palette='FOREGROUND'></td>

 

change the name 'Movie.swf' to the name of your flash banner

and the "width" and "height" as per the dimensions of your flash banner.

 

This will work :)

 

Sharad.

Link to comment
Share on other sites

I mean catalog/images

What about the ending "}" ?

 

When ever you deal with an "IF" statement, there is always an ending "}" as there is a beginning "{" after the "if".

 

How does he locate this to remove it?

 

 

Also, on a very relevent note:

 

I'm new to osCommerce and have just tried adding a banner after removing the osCommerce (only banner in rotation) banner. My banner is reporting something about text and no banner shows at the bottom.

 

Is there a bug or is there a right way and I'm not doing it (more likely I'm sure)?

 

Barry L. Salter

Edited by Johnson
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...