This project is read-only.

adding table to userpart

Topics: Administration, Core, Customizing Orchard, General, Troubleshooting, Writing modules
Jul 3, 2013 at 8:07 AM
hi there,
i am writting a module, where user can view some additional info about him(like email, fax), and i need to store data in another table.So, how can i do it?
Jul 3, 2013 at 10:37 PM
If i understand correctly you want to add extra fields to the user?
You could manually add additional fields onto the UserPart, or I would create your own part and 'weld' it onto the UserPart - there is an excellent blog post about doing this, its actually about creating your own shopping cart module in orchard, but part 8 creates a CustomerPart that has been welded onto the UserPart.
Jul 4, 2013 at 6:12 AM
You also have contrib.profile