Zen Cart Logo
Forums / All Other Contributions/Addons / Footer Menu Support Thread

Footer Menu Support Thread

Views: 81,571

Results 81 to 100 of 535
2 Nov 2009, 1:40 PM
#81
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Footer Menu Support Thread

It appears that the file is corrupted; either when you uploaded it or when you unziped the package.

try uploading a clean copy of the file.

2 Dec 2009, 2:56 PM
#82
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Footer Menu Support Thread

Hi Clyde:

I would like to make the 4th column a NON-EZPAGE column. What do I need to do? Thanks in advance.

2 Dec 2009, 6:01 PM
#83
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Footer Menu Support Thread

autoace:

Hi Clyde:

I would like to make the 4th column a NON-EZPAGE column. What do I need to do? Thanks in advance.

Nevermind, I did it!

3 Dec 2009, 2:16 PM
#84
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Footer Menu Support Thread

BTW - If anyone wants to know how I did it just PM me. I do not think it is right of me to post what I did because this is not my mod.

3 Dec 2009, 2:30 PM
#85
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Footer Menu Support Thread

Hi Clyde,

I am trying to apply the html name attribute for links in the footer_menu_defines file with no success :(

In an effort to cut down on non-product pages, I have combined all of my policies to the 2 pages that comes standard with ZC, conditions and privacy. For instance, I placed my returns policy on the same page as my TOS. I need to provide a link that takes the customer to the returns section on the conditions page.

I have tried this:
Define('RETURNS', '<li><a href="'http://www.mydomain.com/index.php?main_page=conditions#returns'");
but it just gets commented out when you add '//' or '#' in the url.

and this:
Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS#returns . '</a></li>');
but again the '#' just comments it all out.

Is there another way of doing it that works? Any help is greatly appreciated.

3 Dec 2009, 2:51 PM
#86
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Footer Menu Support Thread

autoace:

BTW - If anyone wants to know how I did it just PM me. I do not think it is right of me to post what I did because this is not my mod.People share ideas of how they use or modify mods all the time.. It's how the community shares and learns.. and sometimes some ideas make their way into mods.. I do not think Clyde will mind at all if you share how you have used his excellent contribution..

3 Dec 2009, 3:50 PM
#87
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Footer Menu Support Thread

autoace:

Hi Clyde,

I am trying to apply the html name attribute for links in the footer_menu_defines file with no success :(

In an effort to cut down on non-product pages, I have combined all of my policies to the 2 pages that comes standard with ZC, conditions and privacy. For instance, I placed my returns policy on the same page as my TOS. I need to provide a link that takes the customer to the returns section on the conditions page.

I have tried this:
Define('RETURNS', '<li><a href="'http://www.mydomain.com/index.php?main_page=conditions#returns'");
but it just gets commented out when you add '//' or '#' in the url.

and this:
Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS#returns . '</a></li>');
but again the '#' just comments it all out.

Is there another way of doing it that works? Any help is greatly appreciated.

I haven't tired this but maybe you can use something similiar to the way includes/languages/english/gv_faq.php is set up.

I believe that you'll need to set up the case statements on your conditions page.

Then do the define statements in includes/languages/english/extra_definitions/YOUR_TEMPLATE/footer_menu_defines.php
something like this:

Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS,'faq_item=1','NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');
Define('RETURNS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS,'faq_item=2','NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');

3 Dec 2009, 5:45 PM
#88
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Footer Menu Support Thread

clydejones:

I haven't tired this but maybe you can use something similiar to the way includes/languages/english/gv_faq.php is set up.

I believe that you'll need to set up the case statements on your conditions page.

Then do the define statements in includes/languages/english/extra_definitions/YOUR_TEMPLATE/footer_menu_defines.php
something like this:

Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS,'faq_item=1','NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');
Define('RETURNS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS,'faq_item=2','NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');

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>');

9 Dec 2009, 10:43 AM
#89
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: Footer Menu Support Thread

great module. got it working in ff and chrome. but in ie there is a blank white box at the bottom of the page (under the siteinfolegal link). it appears only in ie. tried everything to get rid of it. any ideas?

thanks

9 Dec 2009, 4:04 PM
#90
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Footer Menu Support Thread

gsdcypher:

great module. got it working in ff and chrome. but in ie there is a blank white box at the bottom of the page (under the siteinfolegal link). it appears only in ie. tried everything to get rid of it. any ideas?

thanks

not without see what you're talking about.

URL for your site?

9 Dec 2009, 4:54 PM
#91
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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.

<?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

#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

9 Dec 2009, 5:48 PM
#92
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Footer Menu Support Thread

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

9 Dec 2009, 6:25 PM
#93
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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.

9 Dec 2009, 6:28 PM
#94
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: Footer Menu Support Thread

when i view source on the blank white box it just says

1 | <HTML></HTML>

thanks

9 Dec 2009, 6:35 PM
#95
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Footer Menu Support Thread

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.

9 Dec 2009, 11:36 PM
#96
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: Footer Menu Support Thread

ff validator

This document was successfully checked as XHTML 1.0 Transitional!

                       Result:                          Passed                 

blank, white mystery box still there...:blink:

9 Dec 2009, 11:40 PM
#97
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Footer Menu Support Thread

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.

10 Dec 2009, 5:09 AM
#98
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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:

10 Dec 2009, 7:00 PM
#99
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Footer Menu Support Thread

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!

10 Dec 2009, 7:02 PM
#100
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Footer Menu Support Thread

Please refer to following post