By Pucca on
Hi there
I've installed CCK module and a couple of modules with it.
Is it possible for me to save the information I enter via CCK into a different database and in specific fields? I have an external database with all the tour information separately, (I'm creating a Adventure/Tour website).
PLEASE let me know.
Comments
Try use computed field
Try use computed field
Drupal Theme generator
Sorry, I'm new to all of
Sorry, I'm new to all of this. That's a computed field?
Sorry, I'm new to all of
Sorry, I'm new to all of this. What's a computed field?
Connect external database and write custom code for insert data
Connect external database using db_set_active($database_name) - (http://drupal.org/node/18429).
Write hook function for hook_nodeapi (http://api.drupal.org/api/function/hook_nodeapi) on your custom module,
and connect your external database and write code for inserting the datas.
After finishing insert code activate the default database.
thx for your reply..
thx for your reply.. unfortunately.. I don't really know what you mean. I'm not creating a custom module?
My other database is connected .. I'm using it in Views.