Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I noticed that OSC Affiliates only support gif or jpg file. Is it possible for me to use Flash Banner with OSC Affiliates? My client wants Flash Banners only.

 

Please help.

 

Thanks,

Renny

Posted

Hello,

 

Thanks for the reply. Can you elaborate more in what should I do with the affiliate_banner.php file?

 

Any help is very much appreciated.

 

Thanks,

Renny

Posted

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.

Posted (edited)
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...