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

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: Footer Menu Support Thread

    This is what I use:

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

  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 FenG View Post
    This is what I use:

    PHP 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 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:

    Code:
    <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>

  3. #3
    Join Date
    Sep 2008
    Posts
    219
    Plugin Contributions
    0

    Default 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 www.megasaveonline.com. What am I doing wrong.

  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 hardwiredtemplates View Post
    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 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.

    Code:
    #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. #5
    Join Date
    Sep 2008
    Posts
    219
    Plugin Contributions
    0

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by clydejones View Post
    open includes/templates/YOUR_TEMPLATE/css/stylesheet_footer_menu.css

    find the following section and make whatever changes you require.

    Code:
    #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

    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 www.megasaveonline.com
    Attached Images Attached Images  

  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 hardwiredtemplates View Post
    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

    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 www.megasaveonline.com
    look at your stylesheet.css
    Code:
    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;
    	}

  7. #7
    Join Date
    Sep 2008
    Posts
    219
    Plugin Contributions
    0

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by clydejones View Post
    look at your stylesheet.css
    Code:
    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.

  8. #8
    Join Date
    Jan 2006
    Posts
    1,542
    Plugin Contributions
    0

    Default Re: Footer Menu Support Thread

    Clyde, hi again.

    Trying to install Footer Menu on your zencart_zen template. Test site:

    http://www.prom-mart.com/index.php?main_page=contact_us

    Several issues:

    1. Text in coluns seems mis-aligned, as if trying to align center (not for categories, though). See "Important Links", "Best Sellers", "Information" boxes.

    2. For some reason, Contact Us is missing the red asterisk.

    3. How might I align links in footer to align left rather than center?

    4. Site would probably look a little better with a small margin at bottom, as in zencart_zen on main site as yet without footer menu:

    http://www.prommart.com/index.php?main_page=contact_us

    Cannot bear right now to wade through new thread, so if you have any thoughts specific to your template, thanks.

    SPH

    PS: I did just install the css/js minifer on test site (which does speed it up, although your template does very good out of the box.) Not sure if that affects above issues.

  9. #9
    Join Date
    Jan 2006
    Posts
    1,542
    Plugin Contributions
    0

    Default Re: Footer Menu Support Thread

    http://www.zen-cart.com/forum/showpo...&postcount=311

    Okay, going through thread, above fix seems to have fixed my upper sidebox issues. And also put a small margin at bottom of page. And took out the yellowish/gold hover in links not only in footer but in other places in site.

    Now, have I yet come across how some have their links left aligned rather than center aligned?

    Just noticed: still have missing red asterisks Contact Us:
    http://www.prom-mart.com/index.php?main_page=contact_us
    Last edited by SPH; 19 Jul 2011 at 07:26 AM.

  10. #10
    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 SPH View Post
    http://www.zen-cart.com/forum/showpo...&postcount=311

    Okay, going through thread, above fix seems to have fixed my upper sidebox issues. And also put a small margin at bottom of page. And took out the yellowish/gold hover in links not only in footer but in other places in site.

    Now, have I yet come across how some have their links left aligned rather than center aligned?

    Just noticed: still have missing red asterisks Contact Us:
    http://www.prom-mart.com/index.php?main_page=contact_us
    As for the sideboxes - zencart_zen doesn't modify any of them except for the categories.
    You'll need to look at each of the sidebox templates and determine if they contain a class="centeredContent" element and delete that if you want them to be left aligned.

    I believe there is a fix for the asterisks in the support thread for zencart_zen

 

 
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