Posted by wkolcz on November 6, 2012 at 6:14pm
We have a script that refreshes out database every night and in that process the 'Send to all affiliates' gets defaulted to checked (which I assume is a 0 values in the domain access table). We have shared database between 2 different domains, but need that system unchecked. Since one piece is removing the check box from the form (via hook_form_alter) we need to update the import script or set the database default to a value that does not tell Drupal to send it to all affiliates.
Does anyone know what table/column sets the value of the checkbox to true (checked)?
Comments
A suggestion
Hello,
Sorry, I'm not sure if I understood your question :)
It sounds like you are using some contributed module to process "affiliates". If you know the name of that module, you can locate it on disk and look for it's .install file. In the .install file there will be a description of the database tables (and columns). The module in question is probably located in [BASE_DRUPAL_LOCATION/sites/all/modules. Look for a sub-directory that has the same name as the module in question :)
If you are a programmer, then you can also peruse the source code :) Match up the table/columns listed in the .install file with the module's business logic (usually located in .module files and/or .inc files).
Good Luck :)
Thinking is the best way to travel.