Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Changing link from "login" (when not logged in) to "my account" (when logged in)

    Hi there

    What is the solution to have a 2 deffirent links that change when you are logged or not logged in? ie. When the new customer come to the website there is link - LOGIN. With this link he can create an account and do shopping on the website.

    The problem is I would love to have this link to change to MY ACCOUNT, after customer log in.

    Anyone know the solution?
    Thank you

    here is the link to the shop:
    http://www.millers-graphics.co.uk

  2. #2
    Join Date
    Jul 2009
    Posts
    267
    Plugin Contributions
    1

    Default Re: Changing link from "login" (when not logged in) to "my account" (when logged in)

    im pretty sure it does anyway.......when someone is logged in it changes to Log Out, and My Account will also appear.

    Have done a test account yourself?

  3. #3
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Re: Changing link from "login" (when not logged in) to "my account" (when logged in)

    Quote Originally Posted by Ooba_Scott View Post
    im pretty sure it does anyway.......when someone is logged in it changes to Log Out, and My Account will also appear.

    Have done a test account yourself?
    Yes. It's still the same when I am logged in or off. Any suggestions?
    Thank for the respons

  4. #4
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Re: Changing link from "login" (when not logged in) to "my account" (when logged in)

    The links are in the sidebox INFORMATION - tpl_information

  5. #5
    Join Date
    Jul 2009
    Posts
    267
    Plugin Contributions
    1

    Default Re: Changing link from "login" (when not logged in) to "my account" (when logged in)

    hmm have you changed anything in the tpl_header.php file? (your template - common)

    As in here about line 80 ( <!-- bof navigation display -->) this is where the logic is to switch between login, log out, my account


    ....maybe you have accidnelty changed abit of this without noticing?

  6. #6
    Join Date
    Jul 2009
    Posts
    267
    Plugin Contributions
    1

    Default Re: Changing link from "login" (when not logged in) to "my account" (when logged in)

    Thats probaly the reason why they are not changing, as it isnt to do with the header file ( sorry u must have been typing when i was)


    You should be able to add that logic from the header file into the sidebox information file, where the login link is

  7. #7
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Re: Changing link from "login" (when not logged in) to "my account" (when logged in)

    I'll give it a try. Thanks

 

 

Similar Threads

  1. Remove "Newsletters" link when logged into "My Account" (not in Admin?)
    By hedron in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 17 Sep 2009, 10:44 PM
  2. log off link - how do I make it only appear when logged on?
    By gsdcypher in forum General Questions
    Replies: 23
    Last Post: 2 Apr 2008, 12:28 AM
  3. Hide sidebox link when logged in
    By CnTGifts in forum General Questions
    Replies: 1
    Last Post: 16 Mar 2008, 12:10 AM
  4. logout link not on client page once logged in
    By Jack12 in forum General Questions
    Replies: 0
    Last Post: 17 May 2007, 11:08 AM
  5. Replies: 4
    Last Post: 18 Nov 2006, 05:51 PM

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
  •