Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Dec 2007
    Posts
    66
    Plugin Contributions
    0

    Default Add links to top bar

    I have 3 pages I made using EZ-pages (FAQ,aboutus, & contactus). How do I add a link to these pages on the very top bar, the bar with home and login links?

    Here is a picture of what im talking about


    Thanks in advance!

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

    Default Re: Add links to top bar

    ezpages actually has it's own top bar if you designate these to be in the header.

    Reason is that the home login bar has other links that appear wern you login and when you add to cart. take a look and see. You might run out of space...

  3. #3
    Join Date
    Dec 2007
    Posts
    66
    Plugin Contributions
    0

    Default Re: Add links to top bar

    There would be enough space, any ideas on how to add links there?

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

    Default Re: Add links to top bar

    You will have to edit a copy of tpl_header.php for your template and find this:
    Code:
    <!--bof-header ezpage links-->
    <?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 } ?>
    <!--eof-header ezpage links-->
    Move and somehow convert to a "li" as the other links there are in the navigation area that is above ezpages
    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    Might have to have a look at tpl_ezpages_bar_header.php also

  5. #5
    Join Date
    May 2007
    Location
    tampa, fl
    Posts
    24
    Plugin Contributions
    0

    Default Re: Add links to top bar

    i'm doing a similar thing were i'm adding two additional links next to home and login and was wondering how i align my new links to the right side of the bar and leave the login and home on the left were they are.

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

    Default Re: Add links to top bar

    i'm doing a similar thing were i'm adding two additional links next to home
    How are you adding them? ezpage or additional or current pages?



    how i align my new links to the right side of the bar and leave the login and home on the left were they are.
    A new div contained where you want these
    Code:
    <div id="your_new_div">
        <ul class="forward">

  7. #7
    Join Date
    May 2007
    Location
    tampa, fl
    Posts
    24
    Plugin Contributions
    0

    Default Re: Add links to top bar

    i was entering them into the tpl_header.php contained in my template folder. should i be doing it some other way?

    here's a link, http://www.pinecrestprinting.com/store/ i'm trying to move the about us and estimate request over to the right and keep the home & login on the left.

    thanks in advance for any help on this.

  8. #8
    Join Date
    May 2007
    Location
    tampa, fl
    Posts
    24
    Plugin Contributions
    0

    Default Re: Add links to top bar

    as for where the links goto, i have new pages that i created that the links direct to (i haven't actually created them yet but after lunch i probably will).

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

    Default Re: Add links to top bar

    Try where you have this
    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><a href="http://www.pinecrestprinting.com/store/">Home</a></li>
        <li><a href="http://www.pinecrestprinting.com/store/index.php?main_page=login">Log In</a></li>	
    	<li> <a href="http://www.pinecrestprinting.com/about_us.html">About Us</a></li>	
    	<li> <a href="http://www.pinecrestprinting.com/estimate.html">Estimate Request</a></li>
    </ul>
    </div>
    Creating a new contained div something like this and provide your name for the div blue is new
    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><a href="http://www.pinecrestprinting.com/store/">Home</a></li>
        <li><a href="http://www.pinecrestprinting.com/store/index.php?main_page=login">Log In</a></li>
    Any other code that currently exists up to the </ul>
    
    </ul>
    
    <div id="your new div">
        <ul class="forward">
    	<li> <a href="http://www.pinecrestprinting.com/about_us.html">About Us</a></li>	
    	<li> <a href="http://www.pinecrestprinting.com/estimate.html">Estimate Request</a></li>
    			
    </ul>
    </div>
    
    </div>

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

    Default Re: Add links to top bar

    You might create these using ezpages over a html page

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Cant change links on top navigation bar
    By sophie666 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Apr 2014, 09:52 PM
  2. How to remove top banner and add links to top?
    By Punkristo in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 8 Jun 2010, 07:21 PM
  3. Bar Across Top Of Page With Links
    By hrsteel in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jan 2010, 09:16 AM
  4. Place Links in Top Nav Bar?
    By lmw1 in forum Basic Configuration
    Replies: 0
    Last Post: 3 Oct 2007, 01:41 PM

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