Skip to main content
12 events
when toggle format what by license comment
Nov 17, 2016 at 12:48 comment added Bilal Usean also refer this for how to get layout object magento.stackexchange.com/a/88847/36463
Nov 17, 2016 at 12:43 comment added Bilal Usean it is happen suddenly or from the beginning? refer this magento.stackexchange.com/a/87632/36463
Nov 17, 2016 at 12:39 comment added Navin Bista Hi bilal i tried it above code. The line with $layout = $this->getLayout(); is giving the error of unable to handle the request. can you suggest what could possibly go wrong.
Oct 24, 2016 at 5:27 vote accept Navin Bista
Oct 24, 2016 at 5:12 comment added Bilal Usean oh you right! in your case you need to override and try this logic in app/code/Magento/Customer/Controller/Account/Index.php
Oct 24, 2016 at 5:10 comment added Navin Bista How is that going to work coz i want to hide this tab for particular customer group but controller of my module is only executed when someone click this link
Oct 24, 2016 at 5:04 comment added Bilal Usean in layout you can't find customer group for add tab, as I know the only possibilities to check from controller so you should need to apply this logic in your custom controller execute method.
Oct 24, 2016 at 4:58 comment added Navin Bista Hi Bilal thanks for the answer but i am confused on implementing it.where should i add this code as the tab is added from layout. Also i didn't find the template for customer_account
Oct 21, 2016 at 13:52 history edited Bilal Usean CC BY-SA 3.0
added 1 character in body
Oct 21, 2016 at 13:30 history edited Bilal Usean CC BY-SA 3.0
added 15 characters in body
Oct 21, 2016 at 13:07 history edited Bilal Usean CC BY-SA 3.0
added 1 character in body
Oct 21, 2016 at 12:52 history answered Bilal Usean CC BY-SA 3.0