Re: Footer Menu Support Thread
the perils of testing on a wamp server. people can't see what you've moofed up.:lamo:
i was hoping someone may have experienced it before. i believe (probably incorrectly) it has something to do with the tpl_footer. i can post the code and the stylesheet i am using.
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">
<!--BOF footer menu display-->
<?php require($template->get_template_dir('tpl_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_menu.php');?>
<!--EOF footer menu display-->
<div id="footer">
<br class="clearBoth"/>
<!--bof-footer images display -->
<table width="99%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle">
<a href="/index.php?main_page=index&manufacturers_id=7"><img src="images/logo_d.jpg" alt="d" /></a></td>
<td align="center" valign="middle"><a href="/index.php?main_page=index&manufacturers_id=12"><img src="images/logo_k.jpg" alt="k" /></a></td>
<td align="center" valign="middle">
<a href="/index.php?main_page=index&manufacturers_id=3"><img src="images/logo_s.gif" alt="s" /></a></td>
<td align="center" valign="middle"><img src="images/u.jpg" alt="u" /></td>
<td align="center" valign="middle"><a href="/index.php?main_page=index&manufacturers_id=1">
<img src="images/logo_r.gif" alt="r" /></a></td>
<td align="center" valign="middle"><a href="/index.php?main_page=index&manufacturers_id=17"><img src="images/logo_m.gif" alt="m" /></a></td>
<td align="center" valign="middle"><a href="/index.php?main_page=index&manufacturers_id=6"><img src="images/logo_h.gif" alt="h" width="145" height="48" /></a></td>
</tr>
</table>
<!--eof-footer images display -->
<br class="clearBoth"/>
</div>
<!--eof-navigation display -->
<!--closing divs for drop shadow -->
</td></tr></table></div></div></div></div></div></div></div></div></div>
<!--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 -->
<!--bof- site copyright display -->
<div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
<!--eof- site copyright display -->
<!--bof- Google analytics -->
<!--eof- Google analytics-->
<?php
} // flag_disable_footer
?>
</div>
stylesheet_footer
Code:
#footer {clear:both;margin:0;}
#navSuppWrapper dl {margin: 0 auto 3px 0;padding:0;clear:both;height:auto;width:auto;}/*Adjust the height and width of the menu*/
#navSuppWrapper dt {margin-bottom:.3em;font-weight:bold;}
#navSuppWrapper dd {margin:0;padding:0;float:left;width:24.3%;}/*Column width of the menu - currently set for 4 columns*/
#navSuppWrapper li {margin:0;padding:0;}
.menuTitle {margin:0;padding-bottom:.3em;text-align:center;font-size:1.1em;font-weight:bold;list-style: none;}
.first, .second, .third {border-right:1px dotted #000;}
#siteinfoLegal {
margin:0 auto;
padding: .5em 0 0;
font-size: 0.9em;
text-align:center;
width:100%;
line-height:normal;
clear:both;
}
#siteinfoLegal a {padding: 0 0.5em 0 0.5em;color: #000;font-weight:bold;white-space: nowrap; }
#siteinfoLegal a:hover {color: #000;}
thanks
Re: Footer Menu Support Thread
Quote:
Originally Posted by
gsdcypher
the perils of testing on a wamp server. people can't see what you've moofed up.:lamo:
i was hoping someone may have experienced it before. i believe (probably incorrectly) it has something to do with the tpl_footer. i can post the code and the stylesheet i am using.
thanks
I'm working in the dark here, but if as you say the white space is showing up after your copyright information.
You might want to try moving your google analytics code from the tpl_footer.php and place it in tpl_main_page.php just above the closing </body> tag
Re: Footer Menu Support Thread
hi clyde,
thanks for the reply. unfortunately removing the ga code had no effect on the mysterious white box. :frusty:
thanks.
Re: Footer Menu Support Thread
when i view source on the blank white box it just says
thanks
Re: Footer Menu Support Thread
Quote:
Originally Posted by
gsdcypher
when i view source on the blank white box it just says
thanks
If your using FF install the html validator plugin and see what warnings/errors your getting.
Re: Footer Menu Support Thread
ff validator
Quote:
This document was successfully checked as XHTML 1.0 Transitional!
Result: Passed
blank, white mystery box still there...:blink:
Re: Footer Menu Support Thread
Quote:
Originally Posted by
gsdcypher
ff validator
blank, white mystery box still there...:blink:
As I said; without actually seeing the site I can't really provide any useful information.
Re: Footer Menu Support Thread
much ado about nothing....
well it appears that the mysterious blank white box is specifically related to the wamp server as after upload it magically disappeared.
thanks for the assist and the great module!
:cheers:
Re: Footer Menu Support Thread
Quote:
Originally Posted by
clydejones
If the above doesn't work you could also try the following:
Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS .'#returns') . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');
Clyde,
Your suggestion worked, Yes! :clap:
I just changed BOX_INFORMATION_CONDITIONS to My_Own_Words
Thanks again!
Re: Footer Menu Support Thread
Please refer to following post