Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default Re: My account link - how do i turn it on?

    Quote Originally Posted by gjh42 View Post
    Your template appears to have essentially replaced

    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>

    with

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

    so just reverse that, changing that part of the line back to

    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>

    Do this just after the
    if (STORE_STATUS == '0') {
    Don't change anything else in the file.
    I have done that, but still no links have appeared on the top white strip:

    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
    <ul class="back">
    <?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>
    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_SHIPPING; ?></a></li>
    <?php } } ?>

    Is there any way i could have turned them off or deleted them?

  2. #12
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: My account link - how do i turn it on?

    if (STORE_STATUS == '0') {


    Is your shop set to normal store status?

  3. #13
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default Re: My account link - how do i turn it on?

    Quote Originally Posted by gjh42 View Post
    if (STORE_STATUS == '0') {


    Is your shop set to normal store status?
    Yes, it is. Also, i have just installed a new zencart to see if that has the links and it does, it's fine, look here:

    http://www.robots.pollycollection.com/

    I also checked the codes inside tpl_header.php of this new installed zencart and it is exactly the same as the one i'm having problems with, the things you asked to edit is not correct on that one either but the 'my account' links are still showing on the header..

  4. #14
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: My account link - how do i turn it on?

    Can we see (live) the site that has the problem?

  5. #15
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default Re: My account link - how do i turn it on?

    Quote Originally Posted by gjh42 View Post
    Can we see (live) the site that has the problem?
    hi it's http://benzo.pollycollection.com/

    i do have alot of stuff on it but just turned off.

  6. #16
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: My account link - how do i turn it on?

    Replace your templates common tpl_header.php with the original one from your template.

    Then start over with your modifications.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  7. #17
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default Re: My account link - how do i turn it on?

    Quote Originally Posted by usernamenone View Post
    Replace your templates common tpl_header.php with the original one from your template.

    Then start over with your modifications.
    Just tried that my friend, no luck

  8. #18
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: My account link - how do i turn it on?

    Then download a clean copy of that template and replace it with a fresh copy.

    When there is code like this
    <div id="mainWrapper">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper" summary="content">
    <tr>

    <td id="navColumnOne" class="columnLeft" style="width: 150px">
    <div id="navColumnOneWrapper" style="width: 150px"><!--// bof: categories //-->
    <div class="leftBoxContainer" id="categories" style="width: 150px">
    <h3 class="leftBoxHeading" id="categoriesHeading">Categories</h3>
    <div id="categoriesContent" class="sideBoxContent">
    </div></div>
    <!--// eof: categories //-->

    </div></td>
    <td valign="top">
    <!-- bof breadcrumb -->
    <!-- eof breadcrumb -->


    You have not replaced that template
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  9. #19
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: My account link - how do i turn it on?

    Great, you did a fresh template and now you have you header My Account links back.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  10. #20
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default Re: My account link - how do i turn it on?

    Yes i did a fresh template upload, but i still see no links...but you see them????? I only see ...site tagline here (free shipping, sales, etc)... and categories header.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 5
    Last Post: 10 Jan 2010, 05:12 PM
  2. Gift Certificates FAQ link - how to turn it off?
    By ad2r in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 11
    Last Post: 16 Dec 2009, 08:23 PM
  3. Can't Turn off Create Account Emails
    By shanghai in forum General Questions
    Replies: 6
    Last Post: 25 Aug 2008, 02:58 PM
  4. How to add 'My Account' link into Information sidebox?
    By miles in forum Addon Sideboxes
    Replies: 2
    Last Post: 12 Jul 2008, 04:39 AM
  5. How turn off "Reviews" link in Site Map
    By hnchew in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Jan 2007, 02:54 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