Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Phone number into nav

    I need some assistance, I wanted to add a phone number to the right of new products in top nav or below it... where do I enter this info (file name) and what code would I use , maybe phone icon also. Appreciate your help

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Phone number into nav

    add a phone number to the right of new products in top nav or below it
    No site link
    Can not advise blindly as this is most likely a template specific issue
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: Phone number into nav

    Im using pure_blue_free by 12leaves

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Phone number into nav

    That nav bar for that template is custom code in the template
    One would need to locate the file they have entered it into and adjust

    It is most likely
    /includes/templates/pure_blue_free/common/tpl_header.php
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: Phone number into nav

    Can you please tell me what code I need to use?

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Phone number into nav

    Post the contents from that file for the div id top_nav here
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: Phone number into nav

    <?php
    /**
    * Template designed by 12leaves.com
    * 12leaves.com - Free ecommerce templates and design services
    *
    * Common Template
    *
    * @package templateSystem
    * @copyright Copyright 2009-2010 12leaves.com
    * @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: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
    */
    ?>
    <?php
    // Display all header alerts via messageStack:
    if ($messageStack->size('header') > 0) {
    echo $messageStack->output('header');
    }
    if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
    echo htmlspecialchars(urldecode($_GET['error_message']));
    }
    if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
    echo htmlspecialchars($_GET['info_message']);
    } else {
    }
    ?>
     
    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    <div id="headerWrapper">
    <!--bof-header ezpage links-->
    <div class="topper-menu float-right">
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    </div>
    <!--eof-header ezpage links-->
     
    <!--bof-navigation display-->
    <!--eof-navigation display-->
    <!--bof-branding display-->
    <div id="logoWrapper">
    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <div id="taglineWrapper">
    <?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    <?php
    }
    ?>
    <?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
    }
    }
    ?>
    </div>
    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
    </div>
    <div class="clearBoth" /></div>
    <!--eof-branding display-->
    <!--eof-header logo and navigation display-->
    <!--bof-optional categories tabs navigation display-->
    <?php /*require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php');*/ ?>
    <!--eof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_top_nav.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_top_nav.php'); ?>
     
    </div>
    <?php } ?>

    also tpl_top_nav file
    <?php
    /**
    * Template designed by 12leaves.com
    * 12leaves.com - Free ecommerce templates and design services
    *
    * @copyright Copyright 2008-2009 12leaves.com
    * @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: index.php 6550 2007-07-05 03:54:54Z drbyte $
    */
    ?>
    <div id="top_nav">
    <div id="tab_nav">
    <!--<div class="top-nav-left"></div>-->
    <div class="top-nav-right"></div>
    <ul class="list-style-none">
    <li class="home-link"><a href="<?php echo '' . HTTP_SERVER . DIR_WS_CATALOG;?>"><!--img src="images/spacer.gif" width="1" height="14" alt=""--></a></li>
    <?php
    if ($current_page_base == 'products_new') { $active = 'tab_active';
    } else { $active = '';
    }?>
    <li id="<?php echo $active;?>"><a href="index.php?main_page=products_new"><?php echo TOP_MENU_NEW_PRODUCTS;?></a></li>
    <?php
    if ($current_page_base == 'specials') { $active = 'tab_active';
    } else { $active = '';
    }?>
    <li id="<?php echo $active;?>"><a href="index.php?main_page=specials"><?php echo TOP_MENU_SPECIALS;?></a></li>
    <?php
    if ($current_page_base == 'account' || $current_page_base == 'login' || $current_page_base == 'account_edit' || $current_page_base == 'address_book' || $current_page_base == 'account_password' || $current_page_base == 'account_newsletters' || $current_page_base == 'account_notifications') { $active = 'tab_active';
    } else { $active = '';
    }?>
    <li id="<?php echo $active;?>"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo TOP_MENU_MY_ACCOUNT;?></a></li>
    <?php
    if ($current_page_base == 'shopping_cart') { $active = 'tab_active';
    } else { $active = '';
    }?>
    <li id="<?php echo $active;?>"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo TOP_MENU_VIEW_CART;?></a></li>
    </ul>
    </div>
     
    <div id="login_logout_section" class="float-right">
    <ul class="list-style-none inline-list">
    <?php if ($_SESSION['customer_id']) { ?>
    <li>
    <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo ($_SESSION['customer_first_name'].' '.$_SESSION['customer_last_name']);?></a>
    </li>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    </ul>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
    <?php echo HEADER_OR; ?>
    <a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_REGISTER; ?></a>
    <?php } } ?>
    <?php /*if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php } */?>
    </div>
    </div>
    <!-- tools section -->
    <div id="tools_wrapper" class="align-center">
    <table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td class="td-search-header">
    <div class="search-header float-left">
    <?php require($template->get_template_dir('tpl_search_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_search_header.php');?>
    <div class="advanced_search float-left">
    <a href="index.php?main_page=advanced_search"><?php echo HEADER_ADVANCED_SEARCH; ?></a>
    </div>
    </div>
    </td>
    <td>
    <!-- header cart section -->
    <table class="align-center cart-header">
    <tr>
    <td>
    <?php require($template->get_template_dir('tpl_shopping_cart_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_shopping_cart_header.php');
    echo $content;
    /*require($template->get_template_dir('tpl_box_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_box_header.php');*/?>
    </td>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <td>&nbsp;|<td>
    <td class="blue-link">
    <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a>
    </td>
    <?php }?>
    </tr>
    </table>
    <!-- /header cart section -->
     
    </td>
    <td class="td-languages">
    <div class="languages-wrapper">

    <?php require($template->get_template_dir('tpl_header_currencies.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_header_currencies.php');
    echo $content;?>
    <label class="float-right"><?php echo HEADER_CURRENCY;?></label>
     
     
    <?php require($template->get_template_dir('tpl_header_languages.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_header_languages.php');
    echo $content;?>
    <label class="float-right"><? echo HEADER_LANGUAGES;?></label>
    <div class="clearBoth"></div>
    </div>
    </td>
    </tr>
    </table>
    </div>
    <div class="dotted-line line-header"></div>
    <!-- /tools section -->
     

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Phone number into nav

    It would be something like this(extra blank lines added by me for clarity)and upload your tel image to your /image directory
    Code:
    <?php
    if ($current_page_base == 'products_new') { $active = 'tab_active';
    } else { $active = '';
    }?>
    <li id="<?php echo $active;?>"><a href="index.php?main_page=products_new"><?php echo TOP_MENU_NEW_PRODUCTS;?></a></li>
    
    <li><IMG BORDER="0" ALIGN="Left" SRC="images/yourimage.jpg"> 555-555-5555</li>
    
    
    <?php
    if ($current_page_base == 'specials') { $active = 'tab_active';
    } else { $active = '';
    }?>
    Dang!! the forum parser heplaced the escaps code for the hyphens with the hyphen
    Here is the escape code that you would use for hyphens by removing the spaces

    & # 45 ;
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: Phone number into nav

    Thanks a lot Kobra appreciate your help... is there a way to get it closer to or aligned by Your cart is empty. Please check my attempt

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Phone number into nav

    I wanted to add a phone number to the right of new products in top nav
    You did not insert where I recommended for the above request
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Add Phone Number to Contact Us - phone number is not on the emails?
    By ljdream00 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Apr 2012, 10:37 PM
  2. phone only product type change phone number
    By fabbabyjulia in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 13 May 2011, 11:50 AM
  3. Page Number and Phone Number Questions
    By CoolCarPartsOnline in forum Basic Configuration
    Replies: 3
    Last Post: 11 Nov 2008, 12:15 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR