//Get Visitor's information $visitorData = Mage::getSingleton('core/session')->getVisitorData(); // printing visitor information data echo ""; print_r($visitorData); echo ""; // user's ip address (visitor's ip address) $remoteAddr = Mage::helper('core/http')->getRemoteAddr(true); // server's ip address (where the current script is) $serverAddr = Mage::helper('core/http')->getServerAddr(true);
i want to show customer last login data in customer grid.How to do ?Please help me.
ReplyDeletei want to show customer last login data in customer grid.How to do ?Please help me.
ReplyDeleteHi swapna check this thread. Get last login details
ReplyDeleteUse 'log/customer' Model.
Thanks
Thanks for your help,but it is returning null.Please help me.
ReplyDeleteGenerally when we set some configuration in admin configuration,it reflects in frontend . My task is create a setting option in configuration for customer.That configuration should reflect in admin panel of customer.for that i created an attribute in both configuration tab anf admin panel.Now i am not getting how to get that value in admin panel.Please help me ,It is very urgent for me.
ReplyDelete