Getting things
Get the current user/client/customer in Magento
That’s easy: Mage::getSingleton(‘admin/session’)->getUser(); Take a look at this stackoverflow question.
That’s easy: Mage::getSingleton(‘admin/session’)->getUser(); Take a look at this stackoverflow question.
I’m one of those that wanted to add a login form on the sidebar of my Magento. This was really easy, I just add the following line to <reference name="header"> <block type="customer/form_login" name="mini_login" template="customer/form/mini.login.phtml" /> </reference> But after that, every page on my magento store showed the title page as Read more…