Drupal 6 - add javascript files for only specific node
The code below shows an example of how to add javascript files for a specific node (in this case nid of 339).
The code below shows an example of how to add javascript files for a specific node (in this case nid of 339).
Within the template.php file for the admin theme (e.g. Garland) enter the following:
# disable revisions
# Added by Zerotouch
# Ref http://drupal.org/node/289466
function phptemplate_node_form($form) {
unset($form['revision_information']);
return theme_node_form($form);
}
Within the settings.php file the default and legacy databases can be defined. An example is shown below.
$db_url['default'] = 'mysqli://user:password@localhost/default_database_name';
$db_url['legacy'] = 'mysqli://user:password@localhost/legacy_database_name';