Re: Footer Menu Support Thread
Quote:
Originally Posted by
pdxdoug
That worked ... a little too good.
Since the copywrite and the payment.gif at the bottom of the footer menu, they are of course gone also.
Any way to do a if/then condition:
main page old footer, all other pages footer menu.
Sorry to make this complicated.
Thanks.
open includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
find the following section of code and make the highlighted changes.
<!--BOF footer menu display-->
<?php
if (!$this_is_home_page) {
require($template->get_template_dir('tpl_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_menu.php');?>
}
<!--EOF footer menu display-->
Re: Footer Menu Support Thread
Quote:
Originally Posted by
clydejones
open includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
find the following section of code and make the highlighted changes.
<!--BOF footer menu display-->
<?php
if (!$this_is_home_page) {
require($template->get_template_dir('tpl_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_menu.php');?>
}
<!--EOF footer menu display-->
Clyde,
Removed code from tpl_main_page and pasted above code into tpl_footer in place of original statement. No footer at all on any pages with new code.
Any other idea? I can live with the default. I appreciate your time. Thanks.
Re: Footer Menu Support Thread
Quote:
Originally Posted by
pdxdoug
Clyde,
Removed code from tpl_main_page and pasted above code into tpl_footer in place of original statement. No footer at all on any pages with new code.
Any other idea? I can live with the default. I appreciate your time. Thanks.
Let me work on it.
Re: Footer Menu Support Thread
Hello! I hope somebody can help me! I have searched this thread and have found 2 other instances of this problem but there does not appear to be a solution.
I have version 1.3.9 and I have the About_Us mod installed which I also used to create Policies. Everything was working fine until I installed the Footer Menu (which I LOVE!!!). The link works but it does not read correctly. Instead of reading Policies it reads BOX_INFORMATION_POLICIES. Take a look http://www.zinniacottage.com/shop
This is my footer_menu_defines.php
<?php
/**
* Footer Menu Definitions
*
* @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 V3.0
* @version $Id: footer_menu_deines.php 1.0 5/9/2009 Clyde Jones $
*/
/*BOF Menu Column 1 link Definitions*/
Define('TITLE_ONE', '<li class="menuTitle">Quick Links</li>');
Define('HOME', '<li><a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . HEADER_TITLE_CATALOG . '</a></li>');
Define('FEATURED','<li><a href="' . zen_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . TABLE_HEADING_FEATURED_PRODUCTS . '</a></li>');
Define('SPECIALS', '<li><a href="' . zen_href_link(FILENAME_SPECIALS) . '">' . BOX_HEADING_SPECIALS . '</a></li>');
Define('NEWPRODUCTS', '<li><a href="' . zen_href_link(FILENAME_PRODUCTS_NEW) . '">' . BOX_HEADING_WHATS_NEW . '</a></li>');
Define('ALLPRODUCTS', '<li><a href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a></li>');
/*EOF Menu Column 1 link Definitions*/
/*BOF Menu Column 2 link Definitions*/
Define('TITLE_TWO', '<li class="menuTitle">Information</li>');
Define('ABOUT', '<li><a href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a></li>');
Define('SITEMAP', '<li><a href="' . zen_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a></li>');
Define('GVFAQ', '<li><a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a></li>');
Define('COUPON', '<li><a href="' . zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' . BOX_INFORMATION_DISCOUNT_COUPONS . '</a></li>');
Define('UNSUBSCRIBE', '<li><a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a></li>');
/*EOF Menu Column 2 link Definitions*/
/*BOF Menu Column 3 link Definitions*/
Define('TITLE_THREE', '<li class="menuTitle">Customer Service</li>');
Define('CONTACT','<li><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>');
Define('POLICIES', '<li><a href="' . zen_href_link(FILENAME_POLICIES) . '">' . BOX_INFORMATION_POLICIES . '</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*/
/*BOF Menu Column 4 link Definitions*/
Define('TITLE_FOUR', '<li class="menuTitle">Important Links</li>');
/*The actual links are determined by "footer links" set in EZ-Pages
*EOF Menu Column 4 link Definitions
*/
/*BOF Footer Menu Definitions*/
Define('QUICKLINKS', '<dd class="first">
<ul>' . TITLE_ONE . HOME . FEATURED . SPECIALS . NEWPRODUCTS . ALLPRODUCTS . '</ul></dd>');
Define('INFORMATION', '<dd class="second">
<ul>' . TITLE_TWO . ABOUT . SITEMAP . GVFAQ . COUPON . UNSUBSCRIBE . '</ul></dd>');
Define('CUSTOMER_SERVICE', '<dd class="third">
<ul>' . TITLE_THREE . CONTACT . POLICIES . PRIVACY . CONDITIONS . ACCOUNT . '</ul></dd>');
Define('IMPORTANT', '<dd><ul>' . TITLE_FOUR);
Define('IMPORTANT_END', '</ul></dd>');
/*EOF Footer Menu Definitions*/
//EOF
This is my policies.php
<?php
/**
* @package languageDefines
* @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: policies.php v1.3 $
*/
// this is used to display the text link in the "information" or other sidebox
define('BOX_INFORMATION_POLICIES', 'Policies');
?>
I have checked over and over and everything is located where it should be. As I said, all the links were fine before I installed the Footer Menu.
Anyway, I would appreciate any help I can get with this. Please let me know if you need any further information.
Thanks a bunch!
Re: Footer Menu Support Thread
Quote:
Originally Posted by
zinnia
Hello! I hope somebody can help me! I have searched this thread and have found 2 other instances of this problem but there does not appear to be a solution.
This is my policies.php
<?php
/**
* @package languageDefines
* @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: policies.php v1.3 $
*/
// this is used to display the text link in the "information" or other sidebox
define('BOX_INFORMATION_POLICIES', 'Policies');
?>
I have checked over and over and everything is located where it should be. As I said, all the links were fine before I installed the Footer Menu.
Anyway, I would appreciate any help I can get with this. Please let me know if you need any further information.
Thanks a bunch!
Where do you have the file located which contains this define statement? ( i.e. includes/languages/english/extra_definitions/YOUR_TEMPLATE/ )
Re: Footer Menu Support Thread
Thanks for the quick response!! That is exactly where it is.
Re: Footer Menu Support Thread
Quote:
Originally Posted by
clydejones
Where do you have the file located which contains this define statement? ( i.e. includes/languages/english/extra_definitions/YOUR_TEMPLATE/ )
I just triple checked to be sure and YES that is precisely where it is located.
Re: Footer Menu Support Thread
Quote:
Originally Posted by
zinnia
Thanks for the quick response!! That is exactly where it is.
Quote:
Originally Posted by
zinnia
I just triple checked to be sure and YES that is precisely where it is located.
open includes/languages/YOUR_TEMPLATE/english.php
insert the just definition somewhere in that file.
define('BOX_INFORMATION_POLICIES', 'Policies');
Re: Footer Menu Support Thread
Quote:
Originally Posted by
clydejones
open includes/languages/YOUR_TEMPLATE/english.php
insert the just definition somewhere in that file.
define('BOX_INFORMATION_POLICIES', 'Policies');
YOU ARE AMAZING!!!!! I just randomly stuck it in and it worked!!! I can't thank you enough! I've spent the better part of today on this issue alone. Thanks a heap!
Re: Footer Menu Support Thread
Quote:
Originally Posted by
zinnia
YOU ARE AMAZING!!!!! I just randomly stuck it in and it worked!!! I can't thank you enough! I've spent the better part of today on this issue alone. Thanks a heap!
Glad you got it sorted.