DrupalBin
Submit Code
About
Recent Posts
Code
Fix for Fix for Code
Fix for Code
Code
Node type whitelist
an axe coach accessories
coach purses married
Fix for de las ghd alturas
de las ghd alturas
Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
hook_install
hook_install doesn't seem to work
May 18, 2009 - 4:00pm — Anonymous
<?php
/**
* Implemenation of hook_install()
*/
function
tnt_user_import_install
(
)
{
// Create tables.
drupal_install_schema
(
'tnt_user_import_schema'
)
;
}
/**
hook
hook_install
schema
Read more
Installing module tables
June 17, 2008 - 12:42pm — Anonymous
<?php
// $Id$
/**
* Make a database schema
*/
function
loginhistory_schema
(
)
{
$schema
=
array
(
)
;
$schema
[
'loginhistory'
]
=
array
(
'fields'
=
>
array
(
'uid'
=
>
array
(
hook_install
hook_schema
hook_uninstall
module installation
Read more