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

quardz’s picture

Try use computed field

Pucca’s picture

Sorry, I'm new to all of this. That's a computed field?

Pucca’s picture

Sorry, I'm new to all of this. What's a computed field?

suthagar’s picture

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.

Pucca’s picture

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.