Magento Expert Forum - Improve your Magento experience

Results 1 to 8 of 8

How to remove account button and replace with simple account|login links ?

  1. #1

  2. #2
    Administrator david's Avatar
    Join Date
    Nov 2012
    Posts
    261
    Thanks
    22
    Thanked 42 Times in 34 Posts

    Default

    You can adjust it in header template of current activated theme. If the activated theme have no phtml for this you can adjust from the default template.

  3. #3
    New member
    Join Date
    May 2016
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by david View Post
    You can adjust it in header template of current activated theme. If the activated theme have no phtml for this you can adjust from the default template.
    i made the changes directly in the header.phtml of my current theme. Thank you David

  4. #4
    Administrator david's Avatar
    Join Date
    Nov 2012
    Posts
    261
    Thanks
    22
    Thanked 42 Times in 34 Posts

    Default

    Quote Originally Posted by Mystery View Post
    i made the changes directly in the header.phtml of my current theme. Thank you David
    Does it work? And did you clear cache?

  5. #5
    Junior Member
    Join Date
    Aug 2016
    Posts
    72
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    <default>
    <reference name="top.links">

    <action method="setTemplate">
    <template>page/template/my_links.phtml</template>
    </action>

    </reference>
    <default>

    Then copy page/template/links.phtml and rename it to page/template/my_links.phtml and do whatever you need inside that new template file.
    For example you can add log-in & logout link add the below code:
    <?php if (Mage::helper('customer')->isLoggedIn() ): ?>
    <a href="<?php echo Mage::helper('customer')->getLogoutUrl(); ?>"><?php echo 'Log OUT'; ?></a>

    <?php

    else: ?>
    <a href="<?php echo Mage::helper('customer')->getLoginUrl(); ?>">SIGN IN</a>
    <?php

    endif; ?>

    To add custom link to top links via local.xml:
    <reference name="top.links">
    <action method="addLink" translate="label title">
    <label>My Link</label>
    <url>path/to/page</url>
    <title>My link tooltip</title>
    <prepare>true</prepare>
    <urlParams/>
    <position>150</position>
    <liParams>id="my-custom-id"</liParams>
    </action>
    </reference>

  6. #6
    Junior Member
    Join Date
    Oct 2016
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Managing your account settings couldn’t be easier. To get started, click on the arrow in the top right-hand corner of any page next to your profile picture and select Settings. From here you can manage your author names, password, email addresses and notification settings. This is also where you can also choose who can see what is on your profile.
    In case you need to apply custom template only for Top Links, you can do it like this in your theme's local.xml:

    <default>
    <reference name="top.links">

    <action method="setTemplate">
    <template>page/template/my_links.phtml</template>
    </action>

    </reference>
    <default>
    Then copy page/template/links.phtml and rename it to page/template/my_links.phtml and do whatever you need inside that new template file. For example you can add log-in & logout link add the below code:

    <?php if (Mage::helper('customer')->isLoggedIn() ): ?>
    <a href="<?php echo Mage::helper('customer')->getLogoutUrl(); ?>"><?php echo 'Log OUT'; ?></a>

    <?php

    else: ?>
    <a href="<?php echo Mage::helper('customer')->getLoginUrl(); ?>">SIGN IN</a>
    <?php

    endif; ?>
    To add a custom link to Top Links via local.xml:

    <reference name="top.links">
    <action method="addLink" translate="label title">
    <label>My Link</label>
    <url>path/to/page</url>
    <title>My link tooltip</title>
    <prepare>true</prepare>
    <urlParams/>
    <position>150</position>
    <liParams>id="my-custom-id"</liParams>
    </action>
    </reference>

  7. #7
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    228
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Login, go to "Profile Details" tab, and simply click on the "Delete Account" button. Remove all songs from your account, then request deletion by emailing customer services.

  8. #8
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Expel email address from Windows 10 login screen. Open the Start Menu and snap on the Settings symbol to open Windows 10 Settings. Next, click on Accounts and afterward select Sign-in choices from the left side. Here under Privacy, you will see a setting Show account subtleties (eg email address) on sign-in screen.

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
  •