I'm a new drupal user and we have created some forms. We wanted a better database example and had to refer to this module.
I see that there is no schema implementation done in this module which will hamper its execution. Hoping that someone does it asap.
Comments
Comment #1
jhodgdonActually, there is a schema implementation. Like most schema implementations, it is in the .install file and not in the .module file.
http://api.drupal.org/api/function/dbtng_example_schema/7
Please visit the Examples for Developers project to download the full example.
Comment #2
jhodgdonComment #3
jdevelop commentedso you agree with me or does this module not need a schema.. !!! there are errors after installation...
Comment #4
rfayThe dbtng_example_schema() is implemented in dbtng_example.install, which is a part of the DBTNG Example module here in the Examples project.
I just enabled and used the module without trouble, and the database table it's supposed to create was created.
Are you downloading and installing the D7 version of Examples project from http://drupal.org/project/examples?
Comment #5
jdevelop commentedyeah... it worked for me as well... I forgot to mention it here... thanks anyways...