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

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

    Hi

    I am using this template http://(sorry, site offline)/zc150/

    How do i get 'my account' link to appear on the top so customers can log in?

    Thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

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

    Your link points to the standard Classic template. Is that the one you're using ?

    'My Account' displays after the customer logs in, since visitors don't have accounts.

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

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

    Quote Originally Posted by stevesh View Post
    Your link points to the standard Classic template. Is that the one you're using ?

    'My Account' displays after the customer logs in, since visitors don't have accounts.

    Sorry, the template i'm using is 'iC-Atheme' and i was meant to say how do i get the login page to show up there?

    Thanks

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

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

    The demo of that template does show "My Account" instead of "Login" on the homepage, right above the (free shipping, sales, etc)...
    It leads directly to the login page if you are not logged in.

    Or was the OP a typo and you were actually looking for a "Login" link?

  5. #5
    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
    The demo of that template does show "My Account" instead of "Login" on the homepage, right above the (free shipping, sales, etc)...
    It leads directly to the login page if you are not logged in.

    Or was the OP a typo and you were actually looking for a "Login" link?
    I have no links up there, i don't have my account link, login link, or whatever that should be up there.

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

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

    This is login logoff and my account links there is a spacer in between


    <?php if ($_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
    <?php } } ?>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

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

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

    You pointed us to the demo page for the template, which has the my account link at the top, but you say your installation does not have the links. Therefore, we would need to see what you have to be able to advise on your issue.

  8. #8
    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
    This is login logoff and my account links there is a spacer in between


    <?php if ($_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
    <?php } } ?>

    This is what i see in my: includes/templates/iC_AthemeV1.3/common/tpl_header.php

    ?>
    <!--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_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> |</li>
    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_SHIPPING; ?></a></li>
    <?php } } ?>

    Do i just add the below?

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


    So it looks like:

    ?>
    <!--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') {

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

    ?>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> |</li>
    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_SHIPPING; ?></a></li>
    <?php } } ?>

    Thanks

  9. #9
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

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

    I added the extra lines, but then my website page went all blank white, so i had to take it off for it to go back to normal.

    Any ideas?

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

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

    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.
    Last edited by gjh42; 17 Feb 2012 at 03:27 PM.

 

 
Page 1 of 2 12 LastLast

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