Announcement

Collapse
No announcement yet.

change "account" wording depending on login status

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • change "account" wording depending on login status

    Here is a screenshot of the welcome message/account link section in my store. first being logged in, the second when being logged out:

    http://www.msummers.com/mikesstuff/3dc_accountlogin.gif

    Having the name and login links only appear when they are logged in is great. However, I would REALLY LOVE to be able to change that "Account" link as well. From the code, I can't really see a way to do this.

    In my frame.html file I have the START: username tags that will show or hide depending on their online status (which is why the name and logout links hide). But I don't see any code that will show only when they are Logged Out.

    Thus it appears that I am stuck using the same word for that link. I would like it to read "My Account" when they are logged in and "Log In / Register" if they are logged out.

    Does anyone know if this is possible and how I would go about doing it?

    THANKS!

    Mike
    Attached Files
    www.KarensCookies.net
    Cookie Decorating Simplified

  • #2
    This is interesting & must need for answer. Bump for anyone at 3D who might be able to give insight.

    @Maksum, for what you have done already, is this hard to do?

    Comment


    • #3
      What I've done already is not hard. The code is already inside many of the provided templates. Just look for one of the templates that shows this, and copy down the frame.html file. It has it in there.

      As long as they provide the tags it wouldn't be hard to implement what I'd like to.
      www.KarensCookies.net
      Cookie Decorating Simplified

      Comment


      • #4
        Where is the code?

        Originally posted by maksum View Post
        What I've done already is not hard. The code is already inside many of the provided templates. Just look for one of the templates that shows this, and copy down the frame.html file. It has it in there.
        Hi there,
        This is exactly what I'm looking for. Would you mind directing me to the code you are referencing above?

        Thanks,
        Jen :D

        Comment


        • #5
          Did you ever receive a response?

          I found the code... did you ever get a response (not listed here) regarding hiding "account" after login?

          Thanks:D

          Comment


          • #6
            Nope, still nothing.
            www.KarensCookies.net
            Cookie Decorating Simplified

            Comment


            • #7
              I just put "view your account" within the <!--START: user name--> tag
              and "Login" within <!--START: login--> tag.



              <li><a href="myaccount.asp">My Account</a>
              <ul>
              <!--START: login-->
              <li><a href="myaccount.asp">Login</a></li>
              <li><a href="register.asp">Register</a></li>
              <!--END: login-->


              <!--START: username-->
              <li><a href="myaccount.asp">View Account</a></li>
              <li><a href="ordertracking.asp">My Orders</a></li>
              <li><a href="myaccount.asp?action=addresses">My Address Book</a></li>
              <li><a href="myaccount.asp?action=updacc">My Profile</a></li>
              <li><a href="logout.asp">Logout</a></li>
              <!--END: username-->
              Last edited by widgets; 09-17-2009, 03:53 AM.

              Comment


              • #8
                FINALLY! Man, you're awesome. Thanks a million. See, I didn't even know about these <!--START: login--> tags! This is perfect.

                :D
                www.KarensCookies.net
                Cookie Decorating Simplified

                Comment


                • #9
                  you ARE awesome

                  Originally posted by maksum View Post
                  FINALLY! Man, you're awesome. Thanks a million. See, I didn't even know about these <!--START: login--> tags! This is perfect.

                  :D
                  Second that ... Cheers!!

                  Comment

                  Working...
                  X