Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: Buttons in main pg header

    Quote Originally Posted by clydejones View Post
    Don't forget to include the <span> </span> tags.
    PHP Code:
    <div id="navMain">
        <ul>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF'''SSL'); ?>"><span><?php echo HEADER_TITLE_LOGOFF?></span></a></li>
    <?php
          
    } else {
            if (
    STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>"><span><?php echo HEADER_TITLE_LOGIN?></span></a></li>
    <?php } } ?>

        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT'''SSL'); ?>"><soan><?php echo HEADER_TITLE_MY_ACCOUNT?></span></a></li>

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>"><span><?php echo HEADER_TITLE_CART_CONTENTS?></span></a></li>
    <?php }?>
    </ul>
    </div>
    Thank you so much for your help!!

    It sure did make my day! Kim

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

    Default Re: Buttons in main pg header

    Quote Originally Posted by kburner View Post
    Thank you so much for your help!!

    It sure did make my day! Kim
    Glad to help.

    I forgot one thing. right now the shopping cart button won't display until there is an item actually in the cart.

    If you want to change that you'll need to open tpl_header.php and delete the highlighted portions of the following code.

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>

    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><span><?php echo HEADER_TITLE_CART_CONTENTS; ?></span></a></li>
    <?php }?>

  3. #23
    Join Date
    Apr 2009
    Location
    Portland, OR
    Posts
    106
    Plugin Contributions
    0

    Default Re: Buttons in main pg header

    I comment this feedback, so I can have this in my record

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. header buttons
    By typoe in forum General Questions
    Replies: 4
    Last Post: 1 Feb 2011, 06:44 PM
  2. Backround buttons on main page category
    By hengxi in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 3 Apr 2010, 11:36 AM
  3. header buttons
    By TheBuz in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 May 2009, 05:09 PM
  4. Detaching header from main page - how to get main section and header size differently
    By guls_guys in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Apr 2008, 06:07 PM
  5. Buttons in the main page area
    By ellis200200 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Jul 2006, 03:58 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