osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

adding image to header and footer

This is a discussion on adding image to header and footer within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Evening, Im trying to add a couple images to the header and footer and make them linkable, the images are ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 04-21-2008, 09:20 PM
Rod1mu5's Avatar
New Member
 
Join Date: Mar 2007
Location: Pensacola, FL
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
Rod1mu5 is on a distinguished road
Default adding image to header and footer

Evening,

Im trying to add a couple images to the header and footer and make them linkable, the images are certifications and want them to link back to the originator and show were my company is certified I think this needs to be done from the main_page.tpl.php.

I'm using a algozone template so it pulls images from its own directory. I think this is the snippet of code that needs to be hacked and basically add my html reference inside.

here is the snippet from the main_page.tpl.php

PHP Code:
<!-- Top table with -->
<table width="100%" border="0" align="center" valign=top cellpadding="0" cellspacing="0" class="az_main_frame">
<tr><td align="left">
<!--- top logo header --->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="az_top_header">
<TR>
   <TD class="topbanner_td1" width="255" valign="top"><a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>"><IMG border="0" SRC="<?php echo DIR_WS_TEMPLATE_IMAGES?>az_logo.gif"></a></TD>
   <TD class="topbanner_td2"valign="top"><?php echo tep_draw_separator('pixel_trans.gif''100%''1'); ?></TD>
   <TD class="topbanner_td3" width="400">
    <table border="0" cellspacing="0" cellpadding="0" width="100%" class="menu_icons">
    <tr>
        <td align="center" width="30"></td>[/html]        [html]<td align="center" width="30"><img src="<?php echo DIR_WS_TEMPLATE_IMAGES?>az_icon_contact.gif"></td>
        <td align="left" width="50"><a href="<?php echo tep_href_link(FILENAME_CONTACT_US);?>"><?php echo MENU_TEXT_CONTACTUS?></a></td>
        <td align="center" width="30"></td>
        <td align="center" width="30"><img src="<?php echo DIR_WS_TEMPLATE_IMAGES?>az_icon_account.gif"></td>
        <td align="left" width="50"><a href="<?php echo tep_href_link(FILENAME_ACCOUNT'''SSL'); ?>"><?php echo MENU_TEXT_MEMBERS?></a></td>
        <td align="center" width="30"></td>
        <td align="center" width="30"><img src="<?php echo DIR_WS_TEMPLATE_IMAGES?>az_icon_cart.gif"></td>
        <td align="left" width="50"><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART'''SSL'); ?>"><?php echo MENU_TEXT_CART?></a></td>
        <td align="center" width="30"></td>
    </tr>
    </table>
   </TD>
   <TD class="topbanner_td1" width="7" valign="top"><a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>"><IMG border="0" SRC="<?php echo DIR_WS_TEMPLATE_IMAGES?>az_top_right.gif"></a></TD>
</TR>
</table>
this is the code i want to add:

PHP Code:
<table width="200" border="0">
  <
tr>
<
td><!-- Begin Official PayPal Seal --><a href="https://www.paypal.com/us/verified/pal=prepared%40essentialsonly%2ecom" target="_blank"><img border="0" src="http://www.paypal.com/en_US/i/icon/verification_seal.gif" alt="Essential Supply Company is Paypal Certified. Shop with confidence!"/></a>
<!-- 
End Official PayPal Seal -->
</
td>

<
td><img alt="Essential Supply Company is a Florida Certified Minority Business Enterprise." src="http://essentialsonly.com/images/icons/Florida-MBE-Logo.gif">
</
td>
 </
tr>
</
table
I also have the addthis.com code added to my main page so that i can have social bookmarks avaliable. I want to move this over to the left column above the first box. would i put that in the left_column.php page and where?

website is Essentialsonly.com : Be prepared for nature or man! homepage

Thanks.

Last edited by Rod1mu5; 04-21-2008 at 09:29 PM. Reason: added website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-22-2008, 02:07 PM
osCMax Testing Team
 
Join Date: Mar 2008
Location: The Netherlands
Posts: 27
Thanks: 2
Thanked 1 Time in 1 Post
Rep Power: 0
Gizmor is on a distinguished road
Default Re: adding image to header and footer

well for the images of the seals you don't have to use the OSC style to add the images and urls you can also use the HTML links, for the boxes i wouldnt touch the left_column.php because its all Admin controlled now, what you can do is make a copy of the Information box in includes/boxes/information.php and edit that one to put a image(s) in there then you can click on your admin panel on infoboxes and click on new infobox give the name of the new box and fill in the rest how you want it then it should be on your site.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-22-2008, 04:39 PM
Rod1mu5's Avatar
New Member
 
Join Date: Mar 2007
Location: Pensacola, FL
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
Rod1mu5 is on a distinguished road
Default Re: adding image to header and footer

I saw some threads on how to do that...but from what i see that will work for the addthis.com portion but it won't allow me to add the other images to the header above the normal content. I am attaching a pic of what im wanting to do here...
Attached Images
File Type: jpg esso.JPG (48.3 KB, 8 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-23-2008, 03:25 PM
osCMax Testing Team
 
Join Date: Mar 2008
Location: The Netherlands
Posts: 27
Thanks: 2
Thanked 1 Time in 1 Post
Rep Power: 0
Gizmor is on a distinguished road
Default Re: adding image to header and footer

Quote:
Originally Posted by Rod1mu5 View Post
I saw some threads on how to do that...but from what i see that will work for the addthis.com portion but it won't allow me to add the other images to the header above the normal content. I am attaching a pic of what im wanting to do here...
maybe you could pase the header code here so we can look at it.

/edit,

sorry i see it in your first post hold on im gonna look what i can do for you.

/edit2,

try this code
Code:
<!-- Top table with -->
<table width="100%" border="0" align="center" valign=top cellpadding="0" cellspacing="0" class="az_main_frame">
<tr><td align="left">
<!--- top logo header --->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="az_top_header">
<TR>
   <TD class="topbanner_td1" width="255" valign="top"><a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>"><IMG border="0" SRC="<?php echo DIR_WS_TEMPLATE_IMAGES; ?>az_logo.gif"></a></TD>
   <TD class="topbanner_td2"valign="top"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '1'); ?><!-- Begin Official PayPal Seal --><a href="https://www.paypal.com/us/verified/pal=prepared%40essentialsonly%2ecom" target="_blank"><img border="0" src="http://www.paypal.com/en_US/i/icon/verification_seal.gif" alt="Essential Supply Company is Paypal Certified. Shop with confidence!"/></a><!-- End Official PayPal Seal --><img alt="Essential Supply Company is a Florida Certified Minority Business Enterprise." src="http://essentialsonly.com/images/icons/Florida-MBE-Logo.gif"></TD>
   <TD class="topbanner_td3" width="400">
    <table border="0" cellspacing="0" cellpadding="0" width="100%" class="menu_icons">
    <tr>
        <td align="center" width="30"></td>[/html]        [html]<td align="center" width="30"><img src="<?php echo DIR_WS_TEMPLATE_IMAGES; ?>az_icon_contact.gif"></td>
        <td align="left" width="50"><a href="<?php echo tep_href_link(FILENAME_CONTACT_US);?>"><?php echo MENU_TEXT_CONTACTUS; ?></a></td>
        <td align="center" width="30"></td>
        <td align="center" width="30"><img src="<?php echo DIR_WS_TEMPLATE_IMAGES; ?>az_icon_account.gif"></td>
        <td align="left" width="50"><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo MENU_TEXT_MEMBERS; ?></a></td>
        <td align="center" width="30"></td>
        <td align="center" width="30"><img src="<?php echo DIR_WS_TEMPLATE_IMAGES; ?>az_icon_cart.gif"></td>
        <td align="left" width="50"><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL'); ?>"><?php echo MENU_TEXT_CART; ?></a></td>
        <td align="center" width="30"></td>
    </tr>
    </table>
   </TD>
   <TD class="topbanner_td1" width="7" valign="top"><a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>"><IMG border="0" SRC="<?php echo DIR_WS_TEMPLATE_IMAGES; ?>az_top_right.gif"></a></TD>
</TR>
</table>

Last edited by Gizmor; 04-23-2008 at 03:29 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to Gizmor For This Useful Post:
Rod1mu5 (04-26-2008)
  #5  
Old 04-26-2008, 04:50 PM
Rod1mu5's Avatar
New Member
 
Join Date: Mar 2007
Location: Pensacola, FL
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
Rod1mu5 is on a distinguished road
Default Re: adding image to header and footer

Hey that worked...what i did wrong also was pull that main page from the fallback instead of inside the template...once i put the info in the template main then it showed up just fine....thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
using header/index/footer.html for a own template doumawis osCommerce 2.2 Modification Help 0 02-06-2005 03:14 PM
Banner on top of footer image? Lobotaman osCMax v1.7 Discussion 1 02-05-2005 01:43 PM
Changing header and footer completely mikeyboy osCommerce 2.2 Modification Help 3 10-09-2004 06:14 PM
Adding a custom signature footer in email? djavet osCommerce 2.2 Modification Help 1 10-26-2003 04:16 PM
adding footer graphic to infoboxes... starchild osCommerce 2.2 Modification Help 3 06-13-2003 04:40 AM


All times are GMT -8. The time now is 10:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax