[documentation] [task] Documentation for hook_install
Jaza
drupal-docs at drupal.org
Tue Feb 14 22:28:46 UTC 2006
Issue status update for
http://drupal.org/node/48722
Post a follow up:
http://drupal.org/project/comments/add/48722
Project: Documentation
Version: <none>
Component: Developer Guide
Category: tasks
Priority: normal
Assigned to: Anonymous
Reported by: drewish
Updated by: Jaza
Status: patch (code needs review)
My only concern is site admins dealing with complex multisite setups,
where multiple database prefixes are involved. This documentation needs
to include a comment to such people, that if they want the tables
created by hook_install() to use a prefix other than the default one,
they must specify this in the relevant settings.php file *before*
enabling the new module.
Perhaps we should also recommend that module developers list all tables
in their module's installation instructions, along with instructions for
custom prefixing.
Jaza
Previous comments:
------------------------------------------------------------------------
Thu, 09 Feb 2006 20:32:41 +0000 : drewish
Attachment: http://drupal.org/files/issues/document_install_hook.patch (1.88 KB)
Here's some initial docs for the newly committed hook install [1].
[1] http://drupal.org/node/46422
------------------------------------------------------------------------
Thu, 09 Feb 2006 22:06:59 +0000 : drumm
the mysql is missing the {} and I'm not so sure about the heredoc
strings, we don't really use those anywhere now.
More information about the documentation
mailing list