By polarsky on
Hi all,
Is there a drupal module with which I can create and populate a database?For example to create a database of FOOD and populate it with my own data?
Hi all,
Is there a drupal module with which I can create and populate a database?For example to create a database of FOOD and populate it with my own data?
Comments
Can you elaborate on your
Can you elaborate on your question. Do you want to auto-create nodes or fill an external database?
Hi dorien, The situation is
Hi dorien,
The situation is that I'm working on a module which requires external databases setup in order for it to work..more or less there will be queries to those databases by parts of the module.I thought of defining them in the hook_schema of the .install file but the data is just too much and that will be very time-consuming( cos I'll have to be writing code for the various operations on the databases before manually populate the databases)...and most of all I don't want to believe that is the only way of achieving this in drupal.
Cheers.
I would recommend looking at
I would recommend looking at the Content Construction Kit (CCK) which allows you to make custom content types. So lets assume you make a food content type, it would represent one record in the database. You can use the views module to presents lists of food in various ways. There are also modules that deal with importing existing data.
Hi nevets, I'm
Hi nevets,
I'm afraid I may not have described the problem sufficiently. I'm working on a module that needs data in external databases.....parts of the module query these databases.So the issue is a means of creating or setting up external databases to support the module and not creating content. Thanks for your previous response.I'd appreciate any help in getting this situation fixed.
Cheers.
try this - I just created 5000+ entries
Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
Step 6:
I hope this helps - I just imported more than 5200 "buildings" into a site - you can even add images - if you work out the process of uploading them into the right directory beforehand via FTP - just a matter of testing it.
So, not just one moduel - but a process involving one great module and some VBA and macros in Excel / Word.
Good luck