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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| 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: PHP Code: 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 |
|
#2
| |||
| |||
| 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. |
|
#3
| ||||
| ||||
| 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... |
|
#4
| |||
| |||
| Quote:
/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. |
| The Following User Says Thank You to Gizmor For This Useful Post: | ||
Rod1mu5 (04-26-2008) | ||
|
#5
| ||||
| ||||
| 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 |
| Thread Tools | |
| |
| ||||
| 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 |