techwizard Posted April 7, 2007 Posted April 7, 2007 Somewhere I had come across a section where you could set up images for links in the footer section however I lost the bookmark. I would prefer not to do anything to the pages until I know for sure. I have done research on the OSC forum and read areas where the banner section does not work regardless of what you set it for. So my dilemma as of now is not being sure how to set images as links in the footer on the front page. Any help that can be provided would be greatly appreciated! ETA: I did find the Links Manager mod but not sure if that will fix what needs to be done with making an image a link. Hope that makes sense.
worldpar Posted April 7, 2007 Posted April 7, 2007 So my dilemma as of now is not being sure how to set images as links in the footer on the front page. If all you are wanting is a single image with a link you can simply add it to the footer. Open: catalog/includes/footer.php and add this code where ever you want the image. <a href="http://www.addressForLink.com"> <img border="0" src=http://www.yoursite.com/addressOfImage width="?" height="?"></a> This will place the image link in the footer and will be displayed on all pages Thanks Worldpar
worldpar Posted April 7, 2007 Posted April 7, 2007 Sorry I had to repost I waited to long to edit I forgot to add quotes <a href="http://www.addressForLink.com"> <img border="0" src="http://www.yoursite.com/addressOfImage" width="?" height="?"></a> Note: add width and height of image width="100" height="150" Thanks Worldpar
techwizard Posted April 14, 2007 Author Posted April 14, 2007 Thanks! I have a question.... if I want it on one particular page - let's say the index page only, how would I go about doing that? Wouldn't there need to be a particular code within the index.php in order to make it work then??
techwizard Posted April 14, 2007 Author Posted April 14, 2007 Have another question to add onto this... I did some editing and still not having any luck. I think I most likely did something wrong with the text however. In any case, this is what I did at the end of the footer for the edit.... <?php echo tep_display_banner('static', $banner); ?> <a href="http://www.craft-festival.com"> <img border="0" src=http://www.basketsnboughs.com/images/craft-festival.gif width="110" height="31"></a></td> </tr> </table> <?php } ?> The index page showed up but the image did not, I'm assuming something isn't correct just can't figure out what I'm missing. Oh before I forget. I tried it in the center after the dynamic php and that didn't work either so I don't know where I'm overlooking. Thanks so much for your help and anyone else who can provide it. The store is almost done so I feel really good as this is the first time I've used OSC and been able to pick up on things without too much of a problem. :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.