Page 1 of 2 12 LastLast
Results 1 to 10 of 535

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by autoace View Post
    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>');

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by clydejones View Post
    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>');

  3. #3
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by gsdcypher View Post
    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?

  5. #5
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Footer Menu Support Thread

    the perils of testing on a wamp server. people can't see what you've moofed up.
    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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by gsdcypher View Post
    the perils of testing on a wamp server. people can't see what you've moofed up.
    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

  7. #7
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Footer Menu Support Thread

    hi clyde,

    thanks for the reply. unfortunately removing the ga code had no effect on the mysterious white box.

    thanks.

  8. #8
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by DivaVocals View Post
    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..
    Clyde,

    Do you mind if I share with how I modified your mod?
    Thank you,
    autoace

  9. #9
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by autoace View Post
    Clyde,

    Do you mind if I share with how I modified your mod?
    Not at all

  10. #10
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by autoace View Post
    Clyde,

    Do you mind if I share with how I modified your mod?
    If you look around the community does this ALL the time.. It's how we all learn and share tips and tricks.. A few folks have shared ideas in THIS support thread already on how they've used and expanded on Clyde's wonderful mod..

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. v154 Flexible Footer Menu Multilingual [Support Thread]
    By rbarbour in forum All Other Contributions/Addons
    Replies: 131
    Last Post: 29 Jun 2025, 03:06 AM
  3. Category Tab Simple Dropdown Menu 1.3.9 Support Thread
    By dbltoe in forum All Other Contributions/Addons
    Replies: 46
    Last Post: 30 Mar 2024, 06:12 PM
  4. adding links to top menu and footer menu
    By satrina in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Nov 2012, 10:17 PM
  5. Easy way to edit header/top menu, footer menu, and sidebar menu?
    By templar2 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 30 Jun 2009, 11:14 AM

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