Thanks for the pointer Brett.
Well, what I did is copy the profile module and edit it to create a "pet_profile" object. It was tricky figuring out what to edit and what not; mostly trial an error and methodically going through all the files.
I've not been able to extend the ElggUser object sucessfully, so I've created a normal user and attached the pet_profile objects to the user as you would any other object, and basically hiding the user profile from the interface. It's still there, but not being used.
Hope this helps a bit; contact me if you would like to discuss this further.
Cheers
Arno
you could create multiple elgg objects which act profile objects for a user, and each one of these elgg objects would need a meta-attribute "userId". that way you can search for these profile objects by the userId they belong to. the user object would also need a new meta-attribute called "profileId' which would be the guid of the profile object currently assigned to the user.
after that, its just a matter of extending the profile module to display the correct profile. hope that helps :)
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.