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

Footer Menu Support Thread

Views: 81,574

Results 441 to 460 of 535
5 May 2011, 9:09 PM
#441
maxa avatar

maxa

New Zenner

Join Date:
May 2011
Posts:
2
Plugin Contributions:
0

Footer Menu Support Thread

Hi guys!
Can someone please help me?
I'm using avonlee contempo template and keep having issues with the footer.

I've created 6 ez pages (internal links to products pages), and as I try to place them in the third column of the footer, only 3 links work.

Here's the code for the 3rd column of footer_menu_defines:

/BOF Menu Column 3 link Definitions/
Define('TITLE_THREE', '<li class="menuTitle"></li>');
Define('A', '<li><a href="' . zen_ez_pages_link(3) . '"> A</a></li>');
Define('B', '<li><a href="' . zen_ez_pages_link(4) . '"> B</a></li>');
Define('C', '<li><a href="' . zen_ez_pages_link(5) . '">C</a></li>');
Define('D', '<li><a href="' . zen_ez_pages_link(6) . '"> D</a></li>');
Define('E', '<li><a href="' . zen_ez_pages_link(7) . '"> E</a></li>');
Define('F', '<li><a href="' . zen_ez_pages_link(8) . '"> F</a></li>');
Define('CONTACT','<li><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>');
Define('SHIPPING', '<li><a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a></li>');
Define('PRIVACY', '<li><a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>');
Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');
Define('ACCOUNT', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') .'">' . HEADER_TITLE_MY_ACCOUNT . '</a></li>');
/EOF Menu Column 3 link Definitions/

Define('CUSTOMER_SERVICE', '<dd class="third">

<ul>' . TITLE_THREE . A . B . E . '</ul></dd>');

A, B and E brand links work fine. When I type in C, D and F brand names into TITLE_THREE, the website goes blank.

I've assigned order #s and everything.

Why would that happen? Can someone push me in the right direction?

Here's the website https://www.nkfacial.com

Thank you.

5 May 2011, 10:37 PM
#442
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

Maxa:

Hi guys!
Can someone please help me?
I'm using avonlee contempo template and keep having issues with the footer.

I've created 6 ez pages (internal links to products pages), and as I try to place them in the third column of the footer, only 3 links work.

Here's the code for the 3rd column of footer_menu_defines:

/BOF Menu Column 3 link Definitions/
Define('TITLE_THREE', '<li class="menuTitle"></li>');
Define('A', '<li><a href="' . zen_ez_pages_link(3) . '"> A</a></li>');
Define('B', '<li><a href="' . zen_ez_pages_link(4) . '"> B</a></li>');
Define('C', '<li><a href="' . zen_ez_pages_link(5) . '">C</a></li>');
Define('D', '<li><a href="' . zen_ez_pages_link(6) . '"> D</a></li>');
Define('E', '<li><a href="' . zen_ez_pages_link(7) . '"> E</a></li>');
Define('F', '<li><a href="' . zen_ez_pages_link(8) . '"> F</a></li>');
Define('CONTACT','<li><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>');
Define('SHIPPING', '<li><a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a></li>');
Define('PRIVACY', '<li><a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>');
Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');
Define('ACCOUNT', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') .'">' . HEADER_TITLE_MY_ACCOUNT . '</a></li>');
/EOF Menu Column 3 link Definitions/

Define('CUSTOMER_SERVICE', '<dd class="third">

<ul>' . TITLE_THREE . A . B . E . '</ul></dd>');

A, B and E brand links work fine. When I type in C, D and F brand names into TITLE_THREE, the website goes blank.

I've assigned order #s and everything.

Why would that happen? Can someone push me in the right direction?

Here's the website https://www.nkfacial.com

Thank you.

If you make your ez-pages for the footer, the footer menu will automatically insert them in column 4.

5 May 2011, 10:56 PM
#443
maxa avatar

maxa

New Zenner

Join Date:
May 2011
Posts:
2
Plugin Contributions:
0

Re: Footer Menu Support Thread

Thank you for the reply.I appreciate it.

Is there any way to make ez-pages appear in 3rd column?
If they appear in column 4 only, how come 3 links work just fine and other 3 don't?

6 May 2011, 12:00 AM
#444
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

Maxa:

Thank you for the reply.I appreciate it.

Is there any way to make ez-pages appear in 3rd column?
If they appear in column 4 only, how come 3 links work just fine and other 3 don't?

I don't see anything obviously wrong with these define statements:

Define('A', '<li><a href="' . zen_ez_pages_link(3) . '"> A</a></li>');
Define('B', '<li><a href="' . zen_ez_pages_link(4) . '"> B</a></li>');
Define('C', '<li><a href="' . zen_ez_pages_link(5) . '">C</a></li>');
Define('D', '<li><a href="' . zen_ez_pages_link(6) . '"> D</a></li>');
Define('E', '<li><a href="' . zen_ez_pages_link(7) . '"> E</a></li>');
Define('F', '<li><a href="' . zen_ez_pages_link(8) . '"> F</a></li>');

So I'm not sure why they wouldn't display.

No, column 4 was set up to display the ez-page links.

6 May 2011, 6:02 AM
#445
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Footer Menu Support Thread

Is it possible that C, D and F are reserved names in PHP? What happens if you change the constant names to BRAND_C etc.?

Do you have any new myDebug error logs in /cache/?

12 May 2011, 6:44 AM
#446
feng avatar

feng

New Zenner

Join Date:
Nov 2009
Posts:
40
Plugin Contributions:
0

Re: Footer Menu Support Thread

Would it be possibel to ONLY have the EZPAGE links shown in the 4th column ( important links )
And not also underneath the footerlinks in a horizontal footerbar
as you can see here: http://www.fritenglas.eu/new/index.php?main_page=page&id=4&chapter=1

And would it be possibel to make teh lines between each column longer ( as long as column 4 )

Thank you
Christina

12 May 2011, 3:23 PM
#447
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

FenG:

Would it be possibel to ONLY have the EZPAGE links shown in the 4th column ( important links )
And not also underneath the footerlinks in a horizontal footerbar
as you can see here: http://www.fritenglas.eu/new/index.php?main_page=page&id=4&chapter=1

And would it be possibel to make teh lines between each column longer ( as long as column 4 )

Thank you
Christina

By default this mod replaces tpl_footer.php which should have eliminated the issue you describe.

12 May 2011, 5:36 PM
#448
feng avatar

feng

New Zenner

Join Date:
Nov 2009
Posts:
40
Plugin Contributions:
0

Re: Footer Menu Support Thread

but it has not eliminated the problem, what can I do to have it deleted from the footer?

What should I look for?

Thank you

12 May 2011, 5:44 PM
#449
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

FenG:

but it has not eliminated the problem, what can I do to have it deleted from the footer?

What should I look for?

Thank you

I would need to see the tpl_footer.php file you have installed in order to determine what the problem is.

12 May 2011, 6:19 PM
#450
feng avatar

feng

New Zenner

Join Date:
Nov 2009
Posts:
40
Plugin Contributions:
0

Re: Footer Menu Support Thread

This is what I use:

<?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 3183 2006-03-14 07:58:59Z birdbrain $
 */
require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
?>

<?php
if (!$flag_disable_footer) {
?>



<div id="footerhsy">
<div id="footershadow"></div>
	
<!--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="navSupp">
<ul>
<br />
<br />
<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 -->

<center>
<?php echo zen_image(DIR_WS_TEMPLATE.'images/payments.gif'); ?>
</center>

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

</div><!-- footerhsy -->

<?php
} // flag_disable_footer
?>
</div>
12 May 2011, 6:29 PM
#451
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

FenG:

This is what I use:

<?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 3183 2006-03-14 07:58:59Z birdbrain $ */ require(DIR_WS_MODULES . zen_get_module_directory('footer.php')); ?> <?php if (!$flag_disable_footer) { ?> <div id="footerhsy"> <div id="footershadow"></div> <!--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="navSupp"> <ul> <br /> <br /> <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 --> <center> <?php echo zen_image(DIR_WS_TEMPLATE.'images/payments.gif'); ?> </center> <!--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 --> </div><!-- footerhsy --> <?php } // flag_disable_footer ?> </div> ```

You need to remove the following:

<div id="navSupp">
<ul>
<br />
<br />
<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> 
5 Jul 2011, 9:26 PM
#452
hardwiredtemplates avatar

hardwiredtemplates

Zen Follower

Join Date:
Sep 2008
Posts:
211
Plugin Contributions:
0

Re: Footer Menu Support Thread

Alright I've installed the footer menu mod. Looks great but no matter what I do a cannot change the styling of the links (i.e remove underline, remove bold, change font type) no matter where I change nothing seems to take effect.

Please review the site at https://www.megasaveonline.com. What am I doing wrong.

5 Jul 2011, 9:46 PM
#453
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

hardwiredtemplates:

Alright I've installed the footer menu mod. Looks great but no matter what I do a cannot change the styling of the links (i.e remove underline, remove bold, change font type) no matter where I change nothing seems to take effect.

Please review the site at https://www.megasaveonline.com. What am I doing wrong.

open includes/templates/YOUR_TEMPLATE/css/stylesheet_footer_menu.css

find the following section and make whatever changes you require.

#footer ul {margin:0;padding:0;list-style: none;}

#footer li a:link {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
#footer li a:visited {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
#footer li a:hover {color:#f27a00;background:none;text-decoration: underline;}
#footer li a:active {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
5 Jul 2011, 10:04 PM
#454
hardwiredtemplates avatar

hardwiredtemplates

Zen Follower

Join Date:
Sep 2008
Posts:
211
Plugin Contributions:
0

Re: Footer Menu Support Thread

clydejones:

open includes/templates/YOUR_TEMPLATE/css/stylesheet_footer_menu.css

find the following section and make whatever changes you require.

#footer ul {margin:0;padding:0;list-style: none;}

#footer li a:link {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
#footer li a:visited {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
#footer li a:hover {color:#f27a00;background:none;text-decoration: underline;}
#footer li a:active {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}


Clyde thanks for the quick reply. I've changed a combination of those lines yet I can't get it to do a universal change. What I mean is for example I change the #444 in one of the lines to say #f00 then only three of the links are red and not the rest. 
Also I noticed there is no underline in the code above(Except the hover) yet the links on the site are ALL underlined:frusty:

Maybe something else is controlling the look of the footer links. I am attaching an image of what I am seeking.

Thanks for your hasty reply

the link again is <https://www.megasaveonline.com>
5 Jul 2011, 10:12 PM
#455
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

hardwiredtemplates:

Clyde thanks for the quick reply. I've changed a combination of those lines yet I can't get it to do a universal change. What I mean is for example I change the #444 in one of the lines to say #f00 then only three of the links are red and not the rest.
Also I noticed there is no underline in the code above(Except the hover) yet the links on the site are ALL underlined:frusty:

Maybe something else is controlling the look of the footer links. I am attaching an image of what I am seeking.

Thanks for your hasty reply

the link again is https://www.megasaveonline.com

look at your stylesheet.css

a:link, #navEZPagesTOC ul li a {
	color: #2b2b2b;
	text-decoration: underline;
	}
 
a:visited {
	color: #2b2b2b;
	text-decoration: underline;
	}

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
	color: #2b2b2b;
	text-decoration: none;
	}

a:active {
	color: #2b2b2b;
	}
5 Jul 2011, 10:30 PM
#456
hardwiredtemplates avatar

hardwiredtemplates

Zen Follower

Join Date:
Sep 2008
Posts:
211
Plugin Contributions:
0

Re: Footer Menu Support Thread

clydejones:

look at your stylesheet.css

a:link, #navEZPagesTOC ul li a {
color: #2b2b2b;
text-decoration: underline;
}

a:visited {
color: #2b2b2b;
text-decoration: underline;
}

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
color: #2b2b2b;
text-decoration: none;
}

a:active {
color: #2b2b2b;
}


I've commented out that entire section from stylesheet.css yet ALL the links are STILL underlined. I know I a bit new to this but can you please elaborate a little more I've exhausted my options.:frusty:
5 Jul 2011, 10:53 PM
#457
clydejones avatar

clydejones

Deceased

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

Re: Footer Menu Support Thread

hardwiredtemplates:

I've commented out that entire section from stylesheet.css yet ALL the links are STILL underlined. I know I a bit new to this but can you please elaborate a little more I've exhausted my options.:frusty:

I think you might want to check with the author of the template to see if they have any suggestions.

6 Jul 2011, 1:24 AM
#458
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Footer Menu Support Thread

The HTML/CSS default for links is underlined, so unless your template (like the stock template) specifically changes this, it will happen even when there is no mention of underlining.

Add to this rule in stylesheet_footer_menu.css

#footer li a:link {color: #f00;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;text-decoration: none;}

6 Jul 2011, 2:23 AM
#459
hardwiredtemplates avatar

hardwiredtemplates

Zen Follower

Join Date:
Sep 2008
Posts:
211
Plugin Contributions:
0

Re: Footer Menu Support Thread

gjh42:

The HTML/CSS default for links is underlined, so unless your template (like the stock template) specifically changes this, it will happen even when there is no mention of underlining.

Add to this rule in stylesheet_footer_menu.css

#footer li a:link {color: #f00;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;text-decoration: none;}

Just to report back that did get rid of the underlines and I just included my other styling in the same area including selecting the font.

So reporting back success... Thanks guys

6 Jul 2011, 2:45 AM
#460
hardwiredtemplates avatar

hardwiredtemplates

Zen Follower

Join Date:
Sep 2008
Posts:
211
Plugin Contributions:
0

Re: Footer Menu Support Thread

Ok little problem I have in the footer links. The about us link is going to a "page not found" It was not even showing about us but I managed to get it there in the english.php file but cannot find where to edit the link. The site is https://www.megasaveonline.com

Any help?