Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I add an image in either column


jlevene

Recommended Posts

Posted

I have searched and cannot seem to find the answer.

 

I would like to add an image in either the column right or left that is around the same size as one of the infoboxes but isn't a box. This image would then hyperlink to another page. Ideally the image would sit between two boxes.

 

Apologies if this has already been covered - I couldn't find it.

 

Thanks, Jeff

Posted
You can do this with the banner manager and you can set the link to another page in your shop or to an external site.

 

HTH

Doesn't the banner manager only work in the footer area though?

Posted

No, you can create banner groups which can appear any where, can't remember how but it can be done - have a look here:

 

Banner

 

The Free Name Tape etc boxes are all done with banner manager

Posted
No, you can create banner groups which can appear any where, can't remember how but it can be done - have a look here:

 

Banner

 

The Free Name Tape etc boxes are all done with banner manager

 

Ok, getting somewhere. I have managed to re-instate the banner in the footer using my image but can't seem to get it working elsewhere.

 

Aha, getting closer, I added the following line to column_right and whoa my banner appeared:

 

<?php

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

echo tep_display_banner('static', $banner);

}

?>

 

Only trouble is now it is abouve the column and I need it below it.

Posted
Ok, getting somewhere. I have managed to re-instate the banner in the footer using my image but can't seem to get it working elsewhere.

 

Aha, getting closer, I added the following line to column_right and whoa my banner appeared:

 

<?php

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

echo tep_display_banner('static', $banner);

}

?>

 

Only trouble is now it is abouve the column and I need it below it.

 

I have managed to get the banner into a new box but will have to create a new style for the box to eliminate the header colour etc.

 

Is there any way to have the banner in the middle of the right column or do I have to put it in a box and make the box invisible (same colour as background etc)?

Archived

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

×
×
  • Create New...