<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.0">
</HEAD>
<BODY>
Hi Austin<BR>
The install hook won't run when you enable the module if you've already enabled it once before.<BR>
There is an uninstall tab on the modules page - use that and uninstall your module then reenable it - or use drush to uninstall it (note uninstall does not equal disable).<BR>
Lee<BR>
<BR>
On Thu, 2011-03-17 at 10:18 +0530, Austin Einter wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Hi Lee<BR>
<BR>
Steps followed as below.<BR>
<BR>
1. Wrote the custom module without install file.<BR>
2. Enabled the module.<BR>
3. After the front end (form) was finalized, I wrote .install file.<BR>
4. Disabled module.<BR>
5. Cleared cache<BR>
6. Enabled module.<BR>
<BR>
So with this, I see the database issue.<BR>
<BR>
-------------------------<BR>
<BR>
Coming back to devel module usage, I will check it and revert back.<BR>
<BR>
Thanks<BR>
Austin<BR>
<BR>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
On Thu, Mar 17, 2011 at 9:25 AM, Lee Rowlands <<A HREF="mailto:contact@rowlandsgroup.com">contact@rowlandsgroup.com</A>> wrote:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
Hi Austin<BR>
hook_install only runs once, when the module is first enabled - is it possible that you enabled it and then added the install hooks?<BR>
If so, it would be worth uninstalling the module and reinstalling it. (Uninstalling is not disabling it).<BR>
Devel module provides a nice utility to let you easily uninstall and reinstall a module to aid with debugging your install files.<BR>
<BR>
<FONT COLOR="#888888">Lee</FONT>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
On Thu, 2011-03-17 at 09:14 +0530, Austin Einter wrote: <BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
Can somebody help me to understand, what could be the issue.<BR>
</BLOCKQUOTE>
<BR>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>