0

Can anyone help me how to add customly added myaccount dashboard links in a Toggle section in magento2

Please find the screenshot.

enter image description here

Thanks

5
  • can you add more detail with snapshot where you want to add custom link?
    – snkt
    Commented Dec 5, 2018 at 7:13
  • Please share screenshot with more details.
    – Ronak
    Commented Dec 5, 2018 at 7:14
  • Please find the screen shot in updated question, i would like to add all test links under test as toggle dropdown. Commented Dec 5, 2018 at 7:23
  • check this link gworks.mobi/blog/2016/05/17/… and this one dckap.com/blog/tab-in-customer-admin-in-magento-2
    – Hitesh
    Commented Dec 5, 2018 at 7:37
  • Hi @Hitesh Thanks for your relpy, i have added links already, but i would like add all custom links under one dropdown Commented Dec 5, 2018 at 7:43

1 Answer 1

1

I have did this by following steps:

  1. Create one phtml file ex. links.phtml

  2. call that phtml file in customer_account.xml in customer_account_navigation block.

enter image description here

Now you can achieve your things by phtml file

3
  • Hi @Mukesh thanks for your answer, its not dropdown i need like toggle section, for every link i have created a seperate test1_customer_index.xml, in that file i called seperate .phtml file. Commented Dec 5, 2018 at 10:34
  • I have 5 index.xml file like above and respected phtml files Commented Dec 5, 2018 at 10:35
  • How to include all under one Test toggle section Commented Dec 5, 2018 at 10:36

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.