I am trying to add username to customer database. Because I don’t to tangle my code too much into magento’s core code base for future upgradability, I created a new module that has a new table and model. Let’s call the module Profile with namespace Person. The only code I want to add is when a new customer account is created, it will insert the username into this new table in the new module.
So, I try to access the model in Person Profile module from Mage Customer module’s Account controller and createPostAction but when I try to getModle on it, I get
Class ‘Person’ not found
Basically I need to be able to access Models in other module outside of Mage from modules within Mage.