Zen Follower
- Join Date:
- Mar 2009
- Location:
- Cornelius, NC
- Posts:
- 334
- Plugin Contributions:
- 0
adding images and links to the footer
ok, so i have had some decent success thanks to this post:
http://www.zen-cart.com/forum/showthread.php?t=91865&highlight=remove+home+footer
especially with DivaVocals "summary"...
I have sucessfully used this technique to add 3 links so far to my footer, including image links as well...
however, the last link to my business facebook page, is for some reason picking up code from 'about us' link further down... ??
site is here:
https://www.customk9design.com/catalogzen
code from tpl_footer.php is:
<?php
/**
* Common Template - tpl_footer.php
*
* this file can be copied to /templates/your_template_dir/pagename<br />
* example: to override the privacy page<br />
* make a directory /templates/my_template/privacy<br />
* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />
* to override the global settings and turn off the footer un-comment the following line:<br />
* <br />
* $flag_disable_footer = true;<br />
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_footer.php 4821 2006-10-23 10:54:15Z drbyte $
*/
require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
?>
<?php
if (!isset($flag_disable_footer) || !$flag_disable_footer) {
?>
<!--bof-navigation display -->
<div id="navSuppWrapper">
<div id="navSupp">
<ul>
<li><a href='http://www.hsus.org/'><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/humanesociety.gif" alt="Humane Society" /></a></li>
<li><a href='http://www.justhost.com/ecertified?domain='+document.domain+'','JustHost','target="_blank" toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=570,height=680,left=300,top=200');"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/greenbadge.gif" alt="Green Verified" width="65" height="65"/></a></li>
<li><a href='http://www.facebook.com/home.php?#/pages/Custom-K9-Design/72436717447?ref=mf><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/facebook_48.gif" alt="Facebook" width="65" height="65"/></a></li>
<br />
<?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
<?php } ?>
</ul>
</div>
</div>
<!--eof-navigation display -->
<!--bof-ip address display -->
<?php
if (SHOW_FOOTER_IP == '1') {
?>
<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>
<?php
}
?>
<!--eof-ip address display -->
<!--bof-banner #5 display -->
<?php
if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<!--eof-banner #5 display -->
<li><a href='http://customk9design.com/catalogzen/index.php?main_page=page&id=2'>About Us</a></li>
<!--bof- site copyright display -->
<div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
<!--eof- site copyright display -->
<?php
} // flag_disable_footer
?>