I added in a few things to the current cvs core. The userpage module now
implements a new table called mod_userpage_related. This table allows for
modules to relate things to userpages and maybe do something upon viewing
these pages. The modules who want to implement this feature have to add a
text column roughly named "module_id" to the table which will store a
serialized array of ids or other identifiers for the object.
Example (Documents Manager):
ALTER TABLE mod_userpage_related ADD fileman_id text DEFAULT NULL;
The Web Links module should soon be implementing the table as well.
I also fixed a minor bug in the module installer that didn't allow modules
to have their module_uninstall.php file directly executed. It always
defaulted to the $op=uninstall way.
Adam
---------------------------------
Adam Morton
Developer - Web Technology Group
Appalachian State University
ad...@tu...
|