Creating a group separate from elggGroups

By hzane

There is a great document that makes this seem like a simple operation..

But I just can't get it working.. I started by copying the group mod into a new mod called teams - then replacing the word group with the word team - in the scripts and filenames. I then created a new class called ElggTeam (for consistensy) which extends ElggGroup, and initialized the subtype of "teams".

I added register_entity_type('group', 'teams'); to my team init function in start.php - and thought I would be good to go.. It kinda works up until we get to edit.php in which case it just flips back to plain old groups...!

I considered creating a new entity type in the core Elgg library, but realize this is the wrong way to go.

Obviously I am still kind of bumbling along here but, I just started using Elgg for the first time last week and if anyone could point out what I am missing, it would be so appreciated! I have like 3 other mods to write, but they are all dependent on this teams entity...