Results 1 to 6 of 6
  1. #1
    Join Date
    May 2006
    Posts
    76
    Plugin Contributions
    0

    Default Make buttons appear in header

    On www.chinesebikesdirect.co.uk I am trying so hard (and failing) to get the info buttons to appear at the very top with the home button.

    Does anyone have an easy solution to this?

    Thanks in advance,

    Jason.

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

    Default Re: Make buttons appear in header

    looked at your site and did not view any "info" buttons that need re-location??
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2006
    Posts
    76
    Plugin Contributions
    0

    Default Re: Make buttons appear in header

    Sorry, I didn't make it very clear! Some of them were in the info box but ive made them from ez pages and selected to put them in header but they go below the banner

    Home :: About Us :: Terms :: Site Map :: Privacy Notice :: Contact Us

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

    Default Re: Make buttons appear in header

    You will have to add as li entries the ones you want and then turn off the header display in ezpages. In your includes/templates/simple_zen/common/ dir see if there is a tpl_header.php file and if not place a copy there and edit this copy and insert your additional links in the order you want them in this section:
    Code:
    <div id="headerWrapper">
    <!--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>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <?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 }?>
    </ul>
    </div>
    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    <br class="clearBoth" />
    </div>
    Zen-Venom Get Bitten

  5. #5
    Join Date
    May 2006
    Posts
    76
    Plugin Contributions
    0

    Default Re: Make buttons appear in header

    Thanks for the reply. Is there an easier way to discribe that? Sorry, when it comes to the code stuff...

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Make buttons appear in header

    Yes, there is an easier way. In your template's common/tpl_header.php file, take the block of code that starts <!--bof-header ezpage links--> and ends <!--eof-header ezpage links--> and move it the be just before <!--bof-branding display-->

    This takes the EZ-Page links that you have created and relocates them before the branding section which includes what I suepct you mean by your banner.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Google Checkout button - how to make it appear?
    By ekele in forum Addon Payment Modules
    Replies: 0
    Last Post: 19 Jun 2010, 04:06 PM
  2. How Do I Make EZ-Pages Appear on Sidebox?
    By zcnb in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Jul 2008, 03:29 PM
  3. How to Make Text Appear as BOLD
    By mtrantas in forum Basic Configuration
    Replies: 1
    Last Post: 26 Jan 2008, 04:30 PM
  4. How to make the header-bg.jpg to appear once again
    By steven0796 in forum General Questions
    Replies: 1
    Last Post: 24 Feb 2007, 07:17 PM
  5. Make X sell appear Horizontial not Vertical?
    By ecommercegirl in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 19 Jan 2007, 05:06 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