How do I extend the members module. There is zero documentation in the developers section on how the members module accomplishes even half of what it does.
![]()
I know because I read the entire developers guide including the module tutorial and the code for the Fortunes module - which incidentally does not cover half of the types of functionality that the members module provides. I need to add an extra section to the members’ public facing control panel. For example, the member control panel lets a member Edit Profile, Edit Avatar, Edit Signature, etc. I need to be able to add a new section Edit Foo, also with a form, and then be able to process that form. How do I do this?
Where do I setup the system that links e.g. http://site.com/index.php/member/foo/ to the proper display function for that form? http://site.com/index.php/member/register/ obviously uses mod.member_register.php which makes sense given the name but still, there is absolutely no documentation covering the fact that this is how modules work. Besides that the constructor for the Member_register class is blank. Instead the form is generated by the registration_form() function and there’s no documentation regarding how in the world http://site.com/index.php/member/register/ knows that it should run the registration_form() function. Not only that but then there’s the backend Admin section. There is nothing in the documentation explaining how to add sections to the Admin tab. In the Admin tab there is an area for member profile templates:
CP Home > Admin > Members and Groups > Member Profile Templates > Default
but there is no documentation for this section, what it does, what it’s for, how to use it, and there’s no way to add or remove templates or hook these templates to specific URLs.
What gives?
By the way, the example.zip was corrupted when I tried to download it. I downloaded it a few different times using a few different methods. The example.zip that comes with the downloadable module documentation is fine. The one that is linked directly off of the online version is corrupted.
