My Community
Work At Home Free Classifieds => Post Your Products & Services Here => Topic started by: magebaytn on September 08, 2016, 05:04:15 AM
-
Disable Admin Notification Popup in Magento
Every time you login to Magento admin panel, you're going to get notification popup which includes various updates about Magento.
(http://image.prntscr.com/image/2ae0aad196314173933aacad5ffda9f6.png)
View more : https://www.magebay.com/magento-multi-vendor-marketplace-extension (https://www.magebay.com/magento-multi-vendor-marketplace-extension)
It’s a great thing to stay up to date about your software but I believe that's the part of the Developer’s life, end consumer never like these pop up on every login about which they don’t know something.
On this quick tip I will present you how we can disable these popup. That popup is performance of one of many Magento 2 module (https://www.magebay.com/magento-2-extensions). So disabling this popup is same as disabling module in Magento. All you want to know is the name of that module.:)
- Login to Magento Admin Panel. You're going to get popup.
- Go to System >> Configuration >> Advance
- Disable the Module named “Mage_AdminNotificationâ€, check under image for extra informatiom.
(http://image.prntscr.com/image/70baf38f4c4142d4b62167059e7b0afc.png)
Print array contents in log file of magento
In Magento You possibly can print your log in Exception.log using
- Mage::logException($e->getMessage());
If you want to put the log to your custom log file, then you should use write below line
- Mage::log(‘Your Question’, Zend_Log::DEBUG, custom.log);
But the problem is that , It will not print any Array knowledge, If you wish to print Array knowledge in to log file then you need to use any one of many under methodology:
- Mage::getModel(‘core/log_adapter’, ‘customized.log’)->log($arrayvariable);
- or
- Mage::log(‘Your Data :’.print_r($arrayvariable, true), Zend_Log::DEBUG, ‘customized.log’);