lbcampagna Posted December 6, 2006 Posted December 6, 2006 I'm trying to add a small image beneath the info boxes in the left column with a link. All help is much appreciated. thanks, Leonard
jdvb Posted December 6, 2006 Posted December 6, 2006 in includes/column_left.php just after require(DIR_WS_BOXES . 'information.php'); add: echo '<a href="' . tep_href_link('YOUR_RELATIVE_URL_LINK_HERE') . '">' . tep_image('YOUR_IMAGE_NAME_HERE') . '</a>'; do mind to upload the image you wish to use to your images folder. edit: if you wish to use an url to outside of oscommerce you will need other code: echo '<a href="YOUR_FULL_URL_LINK_HERE" target="_blank">' . tep_image('YOUR_IMAGE_NAME_HERE') . '</a>';
techwizard Posted April 21, 2007 Posted April 21, 2007 in includes/column_left.php just after require(DIR_WS_BOXES . 'information.php'); add: echo '<a href="' . tep_href_link('YOUR_RELATIVE_URL_LINK_HERE') . '">' . tep_image('YOUR_IMAGE_NAME_HERE') . '</a>'; do mind to upload the image you wish to use to your images folder. edit: if you wish to use an url to outside of oscommerce you will need other code: echo '<a href="YOUR_FULL_URL_LINK_HERE" target="_blank">' . tep_image('YOUR_IMAGE_NAME_HERE') . '</a>'; I have a question, what if you wanted to put the image link to the URL in the footer instead? Can you be use these same two lines of code (I have them in bold) as well; or how would it work?? I've been trying to put image links to direct URLs in my footer but not finding the correct answers to my dilemma. The closest information to help was what told me how to set up links on all of the pages. I want them on one specific page. Hope that makes sense as to my current situation. Thanks in advance for any help provided!
techwizard Posted April 21, 2007 Posted April 21, 2007 THANK YOU!! :thumbsup: Got what I needed. This brings a question which I'm not sure about however. Can I still use <br /> to give them spaces in between one another if there is more than one image link. Second question. If I wanted to put the image at the bottom of the columns, I'm guessing all I would need to do is add in an an align="bottom" to the image code correct? Thanks again!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.