0

I want to display all that links inside top link also which display in my account section.

How to display that?

Any help would be appreciated.

Thanks.

enter image description here

2 Answers 2

0

For a better understanding of how to organize header links, the following documentation link might help you.

https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/layouts/layout-practice.html

https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-practice.html

1
  • I already know about that. But, I have no solution for add all that links which is inside siderbar.main in dashboard. Commented Oct 4, 2020 at 7:52
0

first override file to your theme Magento_Customer/layout/customer_account.xml

and add this

<?xml version="1.0"?>

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" label="Customer My Account (All Pages)" design_abstraction="custom">
    <body>
        
        <referenceBlock name="customer_account_navigation">
            <block class="Magento\Framework\View\Element\Html\Link\Current" name="customer-account-navigation-logout-link">
                <arguments>
                    <argument name="path" xsi:type="string">customer/account/logout</argument>
                    <argument name="label" xsi:type="string">Logout</argument>
                </arguments>
            </block>
        </referenceBlock>
    </body>
</page>
2
  • I need all dashboard links inside top.links. Commented Oct 4, 2020 at 16:20
  • hm okey, may be you must move url menu dashboard using javascript or edit phtml top.link add them manually
    – Egi
    Commented Oct 4, 2020 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.