Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default part of footer is gone

    ok, so part of my footer is now not showing... and i dont know the code well enough to know where the problem is...

    i have gone back to an old copy, and re-imput it, but still no luck.
    im sure its simple, but if someone has time to look thru this i would appreciate it...

    site is here:
    www.customk9design.com/catalogzen

    tpl_footer.php is here:
    (note, what is not showing is all the links, i will mark in red)

    Code:
    <?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'));
    ?>
    <html>
    <head>
    <script type="text/javascript">
    function addEvent(elm, evType, fn, useCapture){if(elm.addEventListener){elm.addEventListener(evType, fn, useCapture);return true;}else if (elm.attachEvent){var r = elm.attachEvent('on' + evType, fn);return r;}else{elm['on' + evType] = fn;}}
    			var newWindow = null;
    
    			function closeWin(){
    				if (newWindow != null){
    					if(!newWindow.closed)
    						newWindow.close();
    				}
    			}
    
    			function popUpWin(url, type, strWidth, strHeight){
    
    				closeWin();
    
    				type = type.toLowerCase();
    
    				if (type == "fullscreen"){
    					strWidth = screen.availWidth;
    					strHeight = screen.availHeight;
    				}
    				var tools="";
    				if (type == "standard") tools = "resizable,toolbar=yes,location=yes,scrollbars=yes,menubar=yes,width="+strWidth+",height="+strHeight+",top=0,left=0";
    				if (type == "console" || type == "fullscreen") tools = "resizable,toolbar=no,location=no,scrollbars=no,width="+strWidth+",height="+strHeight+",left=0,top=0";
    				newWindow = window.open(url, "newWin", tools);
    				newWindow.focus();
    			}
    
    			function doPopUp(e)
    			{
    			//set defaults - if nothing in rel attrib, these will be used
    			var t = "standard";
    			var w = "780";
    			var h = "580";
    			//look for parameters
    			attribs = this.rel.split(" ");
    			if (attribs[1]!=null) {t = attribs[1];}
    			if (attribs[2]!=null) {w = attribs[2];}
    			if (attribs[3]!=null) {h = attribs[3];}
    			//call the popup script
    			popUpWin(this.href,t,w,h);
    			//cancel the default link action if pop-up activated
    			if (window.event) 
    				{
    				window.event.returnValue = false;
    				window.event.cancelBubble = true;
    				} 
    			else if (e) 
    				{
    				e.stopPropagation();
    				e.preventDefault();
    				}
    			}
    
    			function findPopUps()
    			{
    			var popups = document.getElementsByTagName("a");
    			for (i=0;i<popups.length;i++)
    				{
    				if (popups[i].rel.indexOf("popup")!=-1)
    					{
    					// attach popup behaviour
    					popups[i].onclick = doPopUp;
    					// add popup indicator
    					if (popups[i].rel.indexOf("noicon")==-1)
    						{
    						popups[i].style.backgroundImage = "url(pop-up.gif)";
    						popups[i].style.backgroundPosition = "0 center";
    						popups[i].style.backgroundRepeat = "no-repeat";
    						popups[i].style.paddingLeft = "15px";
    						}
    					// add info to title attribute to alert fact that it's a pop-up window
    					popups[i].title = popups[i].title + " [Opens in pop-up window]";
    					}
    				}
    			}
    
    			addEvent(window, "load", findPopUps, false);
    
    </script>
    </head>
    </html>
    <?php
    if (!isset($flag_disable_footer) || !$flag_disable_footer) {
    ?>
    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <div id="navSupp">
    <ul id="bottomMenuStyle">
    <li><a href="http://www.hsus.org" rel="popup console 820 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/humanesociety.gif" alt="Humane Society" width="290" height="55"/></a></li>
    <li><a href="javascript:void(0);" onclick="window.open('http://www.justhost.com/ecertified?domain='+document.domain+'','JustHost','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=570,height=680,left=300,top=200');"><img style="border:0px;" src="http://www.justhost.com/img/greenbadges/badge4.gif" alt="Green Web Hosting" /></a></li>
    <li><a href="http://www.facebook.com/home.php?#/pages/Custom-K9-Design/72436717447?ref=mf" rel="popup console 975 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/facebook_48.gif" alt="Facebook" width="55" height="55"/></a></li>
    <li><a href="http://www.mozilla.com/en-US/firefox/organic/?from=sfx&uid=0&t=353570" rel="popup console 950 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/organicfirefox.jpg"width="115" height="55"/></a></li>
    <img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/paymentoptions.png" width="115" height="55">
    </ul>
    <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?>
    <?php } ?>
    </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 -->
    <ul id="bottomMenuStyle2">
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=page&id=2'>About Us</a></li> &nbsp;&nbsp;
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=contact_us'>Contact Us</a></li>&nbsp;&nbsp;
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=page&id=7'>Legal Stuff</a></li>&nbsp;&nbsp;
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=page&id=8'>Shipping, Returns and Availability</a></li>&nbsp;&nbsp;
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=site_map'>Site Map</a></li>
    </ul>
    <!--bof- site copyright display -->
    <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
    <!--eof- site copyright display -->
    
    <?php
    } // flag_disable_footer
    ?>

    also, here is the CSS, just in case the problem is there... heck, the problem could be just something in the admin for all i know.. (its been a frustrating 2 hrs!! )

    Code:
    /**
     * Main CSS Stylesheet
     *
     * @package templateSystem
     * @copyright Copyright 2003-2006 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: stylesheet.css 4813 2006-10-23 02:13:53Z drbyte $
     */
    
    body {
    	margin: 0;
    	font-family: "Trebuchet MS", sans-serif;
    	font-size: 75%;
    	fontweight: bold;
    	color: #FFFFFF;
    	background-color: #3a3a3b;
    	}
    
    a img {border: none; }
    
    a:link, #navEZPagesTOC ul li a {
    	color: #3c75c6;
    	text-decoration: none;
    	}
     
    a:visited {
    	color: #b65b4c;
    	text-decoration: none;
    	}
    
    a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
    	color: #155dc4;
    	}
    
    a:active {
    	color: #155dc4;
    	}
    
    h1 {
    	font-size: 1.5em;
    	color: #9a9a9a;
    	}
    
    h2 {
    	font-size: 1.4em;
    	}
    
    h3 {
    	font-size: 1.3em;
    	}
    
    h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{
    	font-size: 1.1em;
    	}
    
    .biggerText {
    	font-size: 1.2em;
    	}
    
    h1, h2, h3, h4, h5, h6 {
    	margin: 0.3em 0;
    	}
    
    /*  Might uncomment either or both of these if having problems with IE peekaboo bug:
    h1, h2, h3, h4, h5, h6, p {
    	position: relative;
    	}
    *html .centerColumn {
    	height: 1%;
    	}
    */
    
    CODE {
    	font-family: arial, verdana, helvetica, sans-serif;
    	font-size: 1em;
    	}
    
    FORM, SELECT, INPUT {
    	display: inline;
    	font-size: 1em;
    	margin: 0.1em;
    	}
    
    TEXTAREA {
    	float: left;
    	margin: auto;
    	display: block;
    	width: 95%;
    	}
    
    input:focus, select:focus, textarea:focus {
    	background: #E4FEF5;
    	}
    
    FIELDSET {
    	padding: 0.5em;
    	margin: 0.5em 0em;
    	border: 1px solid #cccccc;
    	}
    
    LEGEND {
    	font-weight: bold;
    	padding: 0.3em;
    	}
    
    LABEL, h4.optionName {
    	line-height: 1.5em;
    	padding: 0.2em;
    	}
    
    LABEL.checkboxLabel, LABEL.radioButtonLabel {
    	margin: 0.5em 0.3em;
    	}
    
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    	float: left;
    	}
    
    LABEL.inputLabel {
    	width: 9em;
    	float: left;
    	}
    
    LABEL.inputLabelPayment {
    	width: 14em;
    	float: left;
    	padding-left: 2.5em;
    	}
    
    LABEL.selectLabel, LABEL.switchedLabel, LABEL.uploadsLabel {
    	width: 11em;
    	float: left;
    	}
    
    #checkoutPayment LABEL.radioButtonLabel {
    	font-weight: bold;
    	}
    
    P, ADDRESS {
    	padding: 0.5em;
    	}
    
    ADDRESS {
    	font-style: normal;
    	}
    
    .clearBoth {
    	clear: both;
    	}
    
    HR {
    	height: 1px;
    	margin-top: 0.5em;
    	border: none;
    	border-bottom: 1px solid #9a9a9a;
    	}
    
    #topbar img{
    margin-left:-3px;
    }
    #topMenuStyle {
    margin-left:-10px;
    }
    #topMenuStyle li {
    display: inline;
    list-style-type: none; /*removes the bullets*/
    }
    #topMenuStyle li.link2:hover {
    background-image: (http://www.customk9design.com/catalogzen/includes/templates/darkness/images/lifeguarhover.gif)
    }
    #bottomMenuStyle {
    text-align: center;
    }
    #bottomMenuStyle li {
    display: inline;
    list-style-type: none; /*removes the bullets*/
    }
    #bottomMenuStyle2 {
    text-align: center;
    }
    #bottomMenuStyle2 li {
    display: inline;
    list-style-type: none; /*removes the bullets*/
    } 
    
    /*warnings, errors, messages*/
    .messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
    	line-height: 1.8em;
    	padding: 0.2em;
    	border: 1px solid #9a9a9a;
    	}
    
    .messageStackWarning, .messageStackError {
    	background-color: #80A6B0;
    	color: #FFFFFF;
    	}
    
    .messageStackSuccess {
    	background-color: #99FF99;
    	color: #FFFFFF;
    	}
    
    .messageStackCaution {
    	background-color: #FFFF66;
    	color: #FFFFFF;
    	}
    
    /*wrappers - page or section containers*/
    #mainWrapper {
    	background-color: #383E44;
    	text-align: left;
    	width: 800px;
    	vertical-align: top;
    	border: 1px solid #9a9a9a;
    	}
    
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 0em;
    	}
    
    #logoWrapper{
    	background-image: url(../images/header_bg.jpg);
    	background-repeat: repeat-x;
    	background-color: #383E44;
    	height:144px;
    	}
    
    #navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
    	margin: auto;
    	} 
    #navColumnOneWrapper, #navColumnTwoWrapper {
    	margin-left: 0.5em;
    	margin-right: 0.5em;
    	}
    	
    #tagline {
    	color:#FFFFFF;
    	font-size: 2em;
    	text-align : center;
    	vertical-align: middle;
    	}
    
    #sendSpendWrapper {
    	border: 1px solid #222629;
    	float: right;
    	margin: 0em 0em 1em 1em;
    	}
    
    .floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
    	margin: 0;
    	width: 47%;
    	}
    
    .wrapperAttribsOptions {
    	margin: 0.3em 0em;
    	}
    
    /*navigation*/
    
    .navSplitPagesResult {}
    .navSplitPagesLinks {}
    
    .navNextPrevCounter {
    	margin: 0em;
    	font-size: 0.9em;
    	}
    .navNextPrevList {
    	display: inline;
    	white-space: nowrap;
    	margin: 0;
    	padding: 0.5em 0em;
    	list-style-type: none;
    	}
    
    #navMainWrapper, #navCatTabsWrapper {
    	display: none;
    	margin: 0em;
    	background-color: #000000;
    	padding: 0.5em 0.2em;
    	font-weight: bold;
    	color: #383E44;
    	height: 1%;
    	}
    
    #navCatTabsWrapper {
    	background-color: #383E44;
    	color: #9a9a9a;
    	background-image:none;
    }
    
    #navMain ul, #navSupp ul, #navCatTabs ul {
    	display: none;
    	margin: 0;
    	padding: 0em 0em;
    	list-style-type: none;
    	text-align: center;
    	line-height: 1.5em;
    	}
    
    #navMain ul li, #navSupp ul li, #navCatTabs ul li {
    	display: none;
    	}
    
    #navSupp ul li a, #navCatTabs ul li a {
    	text-decoration: none;
    	padding: 0em 0.5em;
    	margin: 0;
    	color: #FFFFFF;
    	white-space: nowrap;
    	}
    #navMain ul li a, {
    	display: none;
    	}
    #navCatTabs ul li a {
    	color: #9a9a9a;
    	}
    
    #navEZPagesTOCWrapper {
    	font-weight: bold;
    	float: right;
    	height: 1%;
    	border: 1px solid #9a9a9a;
    	}
    
    #navEZPagesTOC ul {
    	margin: 0;
    	padding: 0em 0em;
    	list-style-type: none;
    	line-height: 1.5em;
    	}
    
    #navEZPagesTOC ul li {
    	white-space: nowrap;
    	}
    
    #navEZPagesTOC ul li a {
    	padding: 0em 0.5em;
    	margin: 0;
    	}
    
    #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
    	margin: 0.5em;
    	}
    
    #navMainSearch {
    	float: right;
    	}
    
    #navBreadCrumb {
    	padding: 0.5em 0.5em;
    	background-color: #383E44;
    	font-size: 0.95em;
    	font-weight: bold;
    	margin: 0em;
    	}
    
    #navEZPagesTop {
    	background-color: #abbbd3;
    	background-image: url(../images/tile_back.gif);
    	font-size: 0.95em;
    	font-weight: bold;
    	margin: 0em;
    	padding: 0em;
    	}
    
    #navColumnOne, #navColumnTwo {
    	background-color: transparent;
    	}
    	
    #navSuppWrapper {
    	background: #000000;
    	}
    
    /*The main content classes*/
    #contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
    	vertical-align: top;
    	}
    #txt_1 {
        color: #ffffff;
        text-align: center;
        padding: 5px;
        -moz-box-sizing:border-box;
        box-sizing:border-box;
        background-color:#3a3a3b;
        border: 3px solid #a92e1a;
        overflow:hidden;
        }
    #txt_8 {
       font-family: "Trebuchet MS", sans-serif;
       font-weight: bold;
       padding: 5px;
       -moz-box-sizing:border-box;
       box-sizing:border-box; 
       background-color:#3a3a3b; 
       border: 2px solid #3c75c6; 
       overflow:hidden;"
        }
    #txt_3 {
       font-family: "Trebuchet MS", sans-serif;
       padding: 5px;
       -moz-box-sizing:border-box;
       box-sizing:border-box; 
       background-color:#3a3a3b; 
       border: 2px solid #3c75c6; 
       overflow:hidden;" 
        }
    #txt_9 {
       font-family: "Courier New", sans-serif;
       font-style: italic;
       color: #ffffff;
       padding: 5px;
       -moz-box-sizing:border-box;
       box-sizing:border-box; 
       background-color:#000000; 
       border: 1px solid #ffffff; 
       overflow:hidden;"     
        }
        
    #txt_5 {
       font-family: "Trebuchet MS", sans-serif;
       -moz-box-sizing:border-box;
       box-sizing:border-box; 
       overflow:hidden;
       }
    
      
    /*.content,*/ #productDescription, .shippingEstimatorWrapper {
    	/*font-size: 1.2em;*/
    	padding: 0.5em;
    	}
    
    .alert {
    	color: #80A6B0;
    	margin-left: 0.5em;
    	}
    .advisory {}
    .important {
    	font-weight: bold;
    	}
    .notice {}
    .rating{}
    .gvBal {
    	float: right;
    	}
    .centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
    	padding: 0.8em;
    	}
    
    .smallText, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
    	font-size: 0.9em;
    	}
    
    /*Shopping Cart Display*/
    #cartAdd {
    	float: right;
    	text-align: center;
    	margin: 1em;
    	border: 1px solid #FFFFFF;
    	padding: 1em;
    	}
    
    .tableHeading TH {
    	border-bottom: 1px solid #9a9a9a;
    	}
    
    .tableHeading, #cartSubTotal {
    	background-color: #222629;
    	 }
    
    #cartSubTotal {
    	border-top: 1px solid #cccccc;
    	font-weight: bold;
    	text-align: right;
    	line-height: 2.2em;
    	padding-right: 2.5em;
    	}
    
    .tableRow, .tableHeading, #cartSubTotal {
    	height: 2.2em;
    	}
    
    .cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, #cartInstructionsDisplay, .cartTotalsDisplay {
    	padding: 0.5em 0em;
    	}
    
    .cartUnitDisplay, .cartTotalDisplay {
    	text-align: right;
    	padding-right: 0.2em;
    	}
    
    #scUpdateQuantity {
    	width: 2em;
    	}
    
    .cartQuantity {
    	width: 4.7em;
    	}
    
    .cartNewItem {
    	color: #80A6B0;
    	position: relative;  /*do not remove-fixes stupid IEbug*/
    	}
    
    .cartOldItem {
    	color: #FFFFFF;
    	position: relative;  /*do not remove-fixes stupid IEbug*/
    	}
    
    .cartBoxTotal {
    	text-align: right;
    	font-weight: bold;
    	}
    
    .cartRemoveItemDisplay {
    	width: 3.5em;
    	}
    
    .cartAttribsList {
    	margin-left: 1em;
    	}
    
    #mediaManager {
    	width: 50%; 
    	margin: 0.2em;
    	padding: 0.5em;
    	background-color: #E4FEf5;
    	border: 1px solid #003D00;
    	}
    
    .normalprice, .productSpecialPriceSale {
    	text-decoration: line-through;
    	}
    
    .productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
    	color: #80A6B0;
    	}
    
    .orderHistList {
    	margin: 1em;
    	padding: 0.2em 0em;
    	list-style-type: none;
    	} 
    
    #cartBoxListWrapper ul, #ezPageBoxList ul {
    	list-style-type: none;
    	}
    
    #cartBoxListWrapper li, #ezPageBoxList li, .cartBoxTotal {
    	margin: 0;
    	padding: 0.2em 0em;
    	} 
    
    #cartBoxEmpty, #cartBoxVoucherBalance {
    	font-weight: bold;
    	}
    
    .totalBox {
    	width: 5.5em;
    	text-align: right;
    	padding: 0.2em;
    	}
    
    .lineTitle, .amount {
    	text-align: right;
    	padding: 0.2em;
    	}
    
    .amount {
    	width: 5.5em;
    	}
    
    /*Image Display*/
    #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage {
    	margin: 0em 1em 1em 0em ;
    	}
    
    .categoryIcon {}
    
    #cartImage {
    	margin: 0.5em 1em;
    	}
    
    #navSupp img {
    margin-left:-10px;
    }
    
    /*Attributes*/
    .attribImg {
    	width: 20%;
    	margin: 0.3em 0em;
    }
    
    .attributesComments {}
    
    /*list box contents*/
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
    	margin: 1em 0em;
    	}
    
    .centerBoxWrapper {
    	border: 1px solid #9a9a9a;
    	height: 1%;
    	margin: 1.1em 0;
    	}
    
    h2.centerBoxHeading {
    	font-size: 1.3em;
    	color: #FFFFFF;
    	}
    
    /*sideboxes*/
    .columnLeft {}
    
    h3.leftBoxHeading, h3.leftBoxHeading a,
    h3.rightBoxHeading, h3.rightBoxHeading a {
    	font-size: 1em;
    	color: #FFFFFF;
    	}
    #manufacturersHeading, #currenciesHeading, #musicgenresHeading, #recordcompaniesHeading, #searchHeading, #search-headerHeading {
    	font-size: 0.9em;
    	color: #FFFFFF;
    }
    
    .leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
    	background-image: url(../images/tile_back.gif);
    	padding: 0.5em 0.2em;
    		}
    
    .leftBoxContainer, .rightBoxContainer {
    	margin: 0em;
    	border: 0px solid #9a9a9a;
    	border-bottom: 0px solid #8e8e8e;
    	margin-top: .5em;
    	}
    
    .sideBoxContent {
    	background-color: #000000;
    	padding: 0.4em;
    	}
    
    h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover {
    	color: #FFFF33;
    	text-decoration: none;
    	} 
    #categoriesHeading {display: none;} 
    
    .rightBoxHeading a:visited, .leftBoxHeading a:visited, .centerBoxHeading a:visited {
    	color: #FFFFFF;
    	}
    
    .centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
    	text-align: center;
    	}
    
    #bestsellers .wrapper {
    	margin: 0em 0em 0em 1.5em;
    	}
    
    #bestsellers ol {
    	padding: 0;
    	margin-left: 1.1em;
    	}
    
    #bestsellers li {
    	padding: 0;
    	margin: 0.3em 0em 0.3em 0em;
    	}
    
    #bannerboxHeading {
    	background-color: #0000CC;
    }
    
    #upProductsHeading {
    	text-align: left;
    	}
    
    #upDateHeading {
    	text-align: right;
    	}
    
    /* categories box parent and child categories */
    #categories {
    	width: 177px;
    	align: center;
    	padding: 0px;
    	}
    A.category-top, A.category-top:visited {
    	color: #ffffff;
    	text-decoration: none;
    	}
    A.category-links, A.category-links:visited {
    	color: #FFFFFF;
    	text-decoration: none;
    	}
    A.category-subs, A.category-products, A.category-subs:visited, A.category-products:visited {
    	color: #FFFFFF;
    	text-decoration: none;
    	}
    SPAN.category-subs-parent {
    	font-weight: bold;
    	}
    SPAN.category-subs-selected {
    	font-weight: bold;
    	}
    /* end categories box links */
    
    /*misc*/
    .back {
    	float: left;
    	}
    
    .forward {
    	float: right;
    	}
    
    .bold {
    	font-weight: bold;
    	}
    
    .rowOdd {
    	background-color: #383E44;
    	height: 1.5em;
    	vertical-align: top;
    	}
    
    .rowEven {
    	background-color: #222528;
    	height: 1.5em;
    	vertical-align: top;
    	}
    
    .hiddenField {
    	display: none;
    }
    .visibleField {
    	display: inline;
    }
    
    CAPTION {
    	/*display: none;*/
    	}
    
    #myAccountGen li, #myAccountNotify li {
    	margin: 0;
    	} 
    
    .accountTotalDisplay, .accountTaxDisplay {
    	width: 20%;
    	text-align: right;
    	/*vertical-align: top*/
    	}
    
    .accountQuantityDisplay {
    	width: 10%;
    	vertical-align: top
    	}
    
    TR.tableHeading {
    	background-color: #222629;
    	height: 2em;
    	}
    
    TR.productListing-even {
    	background-color: #222528;
    	}
    
    .productListing-rowheading {
    	background-color: #abbbd3;
    	background-image: url(../images/tile_back.gif);
    	height: 2em;
    	color: #FFFFFF;
    	}
    
    #siteMapList {
    	width: 90%;
    	float: right;
    	}
    
    .ratingRow {
    	margin: 1em 0em 1.5em 0em;
    	}
    
    LABEL#textAreaReviews {
    	font-weight: normal;
    	margin: 1em 0em;
    	}
    
    #popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp, #infoShoppingCart {
    	background-color: #383E44;
    	}

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: part of footer is gone

    Start by fixing the last line there is no <li>, no <a> href etc???

    Code:
    <img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/paymentoptions.png" width="115" height="55">
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default Re: part of footer is gone

    kobra, made that change.. but no effect.

    fyi, though <li> prob. should have been there to begin with, it wasnt there before when it WAS working..

    *sigh*

    any other catches?

  4. #4
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default Re: part of footer is gone

    to clarify also,
    that last list item is just an image... never did link to anything... so there is no href missing.

  5. #5
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default Re: part of footer is gone

    anyone else take a go a this?

  6. #6
    Join Date
    Feb 2009
    Posts
    95
    Plugin Contributions
    0

    Default Re: part of footer is gone

    If that is tpl_footer.php, then you have some serious code issues.
    First you have <head></head> tags within the <body></body> tags and then you end your html with this </html> before your links can be displayed.

    I would suggest replacing your tpl_footer.php with a new copy and start over. Adding just one thing back at a time and testing functionality after each step.

    It would help to try and acquire at least some basic html coding knowledge. It's really not that hard, but there are rules you have to follow. You might take a free crash course at w3schools.

    The html in zen cart is dynamically generated using php, so you should also try to get at least some basic php knowledge.

    I would suggest either that, or stick to what you can change through admin.

  7. #7
    Join Date
    Feb 2009
    Posts
    95
    Plugin Contributions
    0

    Default Re: part of footer is gone

    Actually I should say learn xhtml, because that is what zen-cart uses and the zen-cart team did a beautiful job of making sure they used valid xhtml. This is very important as you may get by using invalid code in one browser only to find that your site falls apart in a different browser.

  8. #8
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default Re: part of footer is gone

    jwitt,
    youre right, and always helpful!

    i gutted and started over...
    it was actually fine based on our previous dialogue, until i added that html in the body/head crap that i got from someone else..

    i AM learning, the best i can, even from a week ago, (comparatively) im a freakin jedi master.. LMAO.... and i do use the w3 site A LOT... its just trial and error for me at this point.

    i appreciate your time, and will try to incorporate a better code then what was obviously CRAP that i got elsewhere...

    THANKS

  9. #9
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default Re: part of footer is gone

    ok, so i dont know when i changed it, but i moved something above that should have been below...

    still not "done" restructuring, but i changed this section:
    Code:
    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <div id="navSupp">
    <ul id="bottomMenuStyle">
    <li><a href="http://www.hsus.org" rel="popup console 820 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/humanesociety.gif" alt="Humane Society" width="290" height="55" border="0"/></a></li>
    <li><a href="javascript:void(0);" onclick="window.open('http://www.justhost.com/ecertified?domain='+document.domain+'','JustHost','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=570,height=680,left=300,top=200');"><img style="border:0px;" src="http://www.justhost.com/img/greenbadges/badge4.gif" alt="Green Web Hosting" /></a></li>
    <li><a href="http://www.facebook.com/home.php?#/pages/Custom-K9-Design/72436717447?ref=mf" rel="popup console 975 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/facebook_48.gif" alt="Facebook" width="55" height="55" border="0"/></a></li>
    <li><a href="http://www.mozilla.com/en-US/firefox/organic/?from=sfx&uid=0&t=353570" rel="popup console 950 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/organicfirefox.jpg"width="115" height="55" border="0"/></a></li>
    <li><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/paymentoptions.png" width="115" height="55"></li>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?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>
    </ul>
    <?php } ?>
    </div>
    </div>
    <!--eof-navigation display -->
    to this: (much cleaner)
    Code:
    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <div id="navSupp">
    <ul>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?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>
    
    <ul id="bottomMenuStyle">
    <li><a href="http://www.hsus.org" rel="popup console 820 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/humanesociety.gif" alt="Humane Society" width="290" height="55" border="0"/></a></li>
    <li><a href="javascript:void(0);" onclick="window.open('http://www.justhost.com/ecertified?domain='+document.domain+'','JustHost','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=570,height=680,left=300,top=200');"><img style="border:0px;" src="http://www.justhost.com/img/greenbadges/badge4.gif" alt="Green Web Hosting" /></a></li>
    <li><a href="http://www.facebook.com/home.php?#/pages/Custom-K9-Design/72436717447?ref=mf" rel="popup console 975 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/facebook_48.gif" alt="Facebook" width="55" height="55" border="0"/></a></li>
    <li><a href="http://www.mozilla.com/en-US/firefox/organic/?from=sfx&uid=0&t=353570" rel="popup console 950 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/organicfirefox.jpg"width="115" height="55" border="0"/></a></li>
    <li><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/paymentoptions.png" width="115" height="55"></li>
    </ul>
    
    <!--eof-navigation display -->
    now my images and links show again... i would like to figure out how to call the "rel=xxxxxx" so that the pop-up part works better... im working on that now...

    but at least the images show again, and the links work.. really have NO idea how all the "li"s got above the "php" script in the nav display... im sure i was copying and pasting at some point and messed it up.

    thanks so far! will post more results..

  10. #10
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default Re: part of footer is gone

    ok, so this popup thing came from here:
    http://accessify.com/features/tutori...perfect-popup/

    basically, i just need to add this syntax in the footer file, to call these javascript instructions: (instead of all that code i had a the top!)

    <script type="text/javascript" src="/path-to/add-event.js"></script>
    <script type="text/javascript" src="/path-to/popup.js"></script>

    how would i correctly insert those scripts into my existing tpl_footer.php file here:

    Code:
    <?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><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?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>
    
    <ul id="bottomMenuStyle">
    <li><a href="http://www.hsus.org" rel="popup console 820 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/humanesociety.gif" alt="Humane Society" width="290" height="55" border="0"/></a></li>
    <li><a href="javascript:void(0);" onclick="window.open('http://www.justhost.com/ecertified?domain='+document.domain+'','JustHost','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=570,height=680,left=300,top=200');"><img style="border:0px;" src="http://www.justhost.com/img/greenbadges/badge4.gif" alt="Green Web Hosting" /></a></li>
    <li><a href="http://www.facebook.com/home.php?#/pages/Custom-K9-Design/72436717447?ref=mf" rel="popup console 975 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/facebook_48.gif" alt="Facebook" width="55" height="55" border="0"/></a></li>
    <li><a href="http://www.mozilla.com/en-US/firefox/organic/?from=sfx&uid=0&t=353570" rel="popup console 950 700 noicon"><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/organicfirefox.jpg"width="115" height="55" border="0"/></a></li>
    <li><img src="http://www.customk9design.com/catalogzen/includes/templates/darkness/images/paymentoptions.png" width="115" height="55"></li>
    </ul>
    
    <!--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 -->
    
    <ul id="bottomMenuStyle2">
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=page&id=2'>About Us</a></li> &nbsp;&nbsp;
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=contact_us'>Contact Us</a></li>&nbsp;&nbsp;
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=page&id=7'>Legal Stuff</a></li>&nbsp;&nbsp;
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=page&id=8'>Shipping, Returns and Availability</a></li>&nbsp;&nbsp;
    <li><a href='http://customk9design.com/catalogzen/index.php?main_page=site_map'>Site Map</a></li>
    </ul>
    
    
    <!--bof- site copyright display -->
    <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
    <!--eof- site copyright display -->
    
    <?php
    } // flag_disable_footer
    ?>

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Footer is gone
    By JDAhlbom in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Jun 2013, 07:48 PM
  2. v150 My footer is gone
    By In2Deep in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 2 Oct 2012, 10:13 PM
  3. Contact form gone and footer missing!
    By Lippyme in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Mar 2012, 09:15 PM
  4. Footer problesm's - Its gone!
    By priceys in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Nov 2007, 05:33 PM
  5. 2 part question on background and footer
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Jun 2006, 05:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg